Telerik.Reporting.DataColumn Error in 8.1.14.618

2 posts, 0 answers
  1. Jerry Jansen
    Jerry Jansen avatar
    47 posts
    Member since:
    Aug 2009

    Posted 23 Jun 2014 Link to this post

    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.
  2. Jerry Jansen
    Jerry Jansen avatar
    47 posts
    Member since:
    Aug 2009

    Posted 24 Jun 2014 in reply to Jerry Jansen Link to this post

    I fixed the problem by removing "Imports Telerik.Reporting"
  3. DevCraft banner
Back to Top