Posted on: 9/4/2012 3:41:30 AM | Views : 382

I got a stored procedure that returns values using a datatable.  The returned data looks like:
Column1 Column2   Column3
     1             2          John Smith
The problem:  I need to assign these values to my .xsd row
NUMBER1   NUMBER2   CUSTOMER
 
dt is my datatable,   ds is my .xsd dataset.
 
ReportDocument rptCheck = new ReportDocument(); dsCheck ds = new dsCheck(); // .xsd file name DataTable dt = new DataTable(); dt = getChecks(); // Sets datatable // Your .rpt file path will be below rptCheck.Load(Server.MapPath("checkprt.rpt")); //set dataset to the repo ...

Go to the complete details ...