sevak sevak

sevak sevak

  • NA
  • 3
  • 0

DataTable problem with SSRS in C#

Mar 3 2011 4:45 AM

Hello,

I have a filled DataTable and I would like to pass it to a Report in c#. before I do this I test the DataTable in a DataGridView to make sure the data is accurate in the result I get this:(LINK TO IMAGE)

so after making sure that the data within the DataTable is correct I run this code:

this.reportViewer1.LocalReport.DataSources.Clear(); this.reportViewer1.LocalReport.DataSources.Add(new ReportDataSource("dsReports", dt)); this.reportViewer1.RefreshReport(); The result that I get in the report is this:


Question no 1: Why there is no Channel ID? Question no 2: Why Why is the Call Date in long date format?

The full source code along with the Database script is available from the link below, you can download it:

http://www.sevakabedi.com/IVR_Reports.zip


Attachment: ivr_reports.zip

Answers (4)