As the Title indicates, I had a version of my reports project working fine. I upgraded to 6.1.12.611 today and this line of code is throwing an error.
"SubReport7.ReportSource.DataSource = data"
The code snippet is as below
StartDate = ReportParameters("StartDate").Value
EndDate = ReportParameters("EndDate").Value
ID = ReportParameters("ID").Value
Source = ReportParameters("Source").Value
data = adapter.GetData(StartDate, EndDate, Source, ID)
SubReport7.ReportSource.DataSource = data
adapter is Table adapter and data is DataTable. Can you tell me why this code doesn't work anymore.
"SubReport7.ReportSource.DataSource = data"
The code snippet is as below
StartDate = ReportParameters("StartDate").Value
EndDate = ReportParameters("EndDate").Value
ID = ReportParameters("ID").Value
Source = ReportParameters("Source").Value
data = adapter.GetData(StartDate, EndDate, Source, ID)
SubReport7.ReportSource.DataSource = data
adapter is Table adapter and data is DataTable. Can you tell me why this code doesn't work anymore.