A
asadim
How is it that DataTables such as Headers and Actuals which are parts of the
TimesheetDataSet class are accessible as properties but the Timesheet
DataTable is not??
e.g.
WebSvcTimesheet.TimesheetDataSet tds = new
WebSvcTimesheet.TimesheetDataSet();
// tds.Actuals exists
// tds.Timesheets doesn't exist
I used the following to discover that there's actually a Timesheet table
inside the TimesheetDataSet class:
foreach (DataTable t in tds.Tables)
{
Console.WriteLine(t.TableName);
}
Please note that before running the loop I populated tds using the Merge
method. Here's the output:
Headers
Lines
Actuals
CustomFields
Actions
Audits
Timesheets
Thanks for any help.
TimesheetDataSet class are accessible as properties but the Timesheet
DataTable is not??
e.g.
WebSvcTimesheet.TimesheetDataSet tds = new
WebSvcTimesheet.TimesheetDataSet();
// tds.Actuals exists
// tds.Timesheets doesn't exist
I used the following to discover that there's actually a Timesheet table
inside the TimesheetDataSet class:
foreach (DataTable t in tds.Tables)
{
Console.WriteLine(t.TableName);
}
Please note that before running the loop I populated tds using the Merge
method. Here's the output:
Headers
Lines
Actuals
CustomFields
Actions
Audits
Timesheets
Thanks for any help.