Originally Posted 8 May 2017, 5:39 pm ESTI have a SQL datatable named RTable from the following SQL statement:
"Select EmployeeID,EmployeeName,HourlyBillRate from dbo.EmployeeMaster" How do I bind this data table to the GanttView control so the users see these employees when adding a resource under Task information. I tried:
C1GantView1.DataStorage.ResourceStorage.Datasource = RTable
C1GantView1.DataStorage.ResourceStorage.Mappings.ResourceID.MappingName = "EmployeeID"
C1GantView1.DataStorage.ResourceStorage.Mappings.Name.Mappingname = "EmployeeName"
C1GantView1.DataStorage.ResourceStorage.Mappings.Cost.MappingName = "HourlyBillRate"
It compiles OK but no employees show up as Resources under Task Information.