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:

Raja KrishnamurthyRank #3,615 · 403 reputationPosted Mar 3, 2011, 3:07 AM EST
For Channel ID there could be a datatype mismatch.
For Call Date give the format for that textbox as "d" that should fix the format.
HTH
Rajesh S108 reputationPosted Mar 3, 2011, 1:21 AM EST
i didnt download your file eventhough i give suggestion to one of your question. for call date you look the below query, you may get what you desire.
ex: select callerid,callchannelno,convert(varchar(10),calldate,101),ivrnodeid,ivrnodename from tablename
sevak sevak3 reputationPosted Mar 3, 2011, 6:23 AM EST
thank you for helping me out
Suthish NairRank #92 · 22.8K reputationPosted Mar 3, 2011, 8:56 AM EST