Just update Telerik Reporting to ver. 8.1.14.618 from 8.0.14.507 and now I am getting the error:
Value of type System.Data.DataColumn cannot be converted to Telerik.Reporting.DataColumn
This is the code:
Dim myDataSet As DataSet = New DataSet()
Dim dt As DataTable = New DataTable("TimeSheet")
dt.Load(dtrReader)
Dim primaryKeyColumns(0) As DataColumn
primaryKeyColumns(0) = dt.Columns("tim_date") <== Error Here
dt.PrimaryKey = primaryKeyColumns
with tim_date is a datetime in the SQL query.
This was working fine before the upgrade.
Value of type System.Data.DataColumn cannot be converted to Telerik.Reporting.DataColumn
This is the code:
Dim myDataSet As DataSet = New DataSet()
Dim dt As DataTable = New DataTable("TimeSheet")
dt.Load(dtrReader)
Dim primaryKeyColumns(0) As DataColumn
primaryKeyColumns(0) = dt.Columns("tim_date") <== Error Here
dt.PrimaryKey = primaryKeyColumns
with tim_date is a datetime in the SQL query.
This was working fine before the upgrade.