Posted on: 9/3/2012 3:29:30 AM | Views : 405

How do I add DataTable values coming from a stored procedure to a .xsd DataSet File?   The values coming from the stored procedure are stored in a dataset.   Since these values were loaded to a DataTable, I need to load the data to a .xsd dataset file which is displayed on a crystal report.
 
Here's the code:
protected void Page_Load(object sender, EventArgs e) { ReportDocument rptCheck = new ReportDocument(); dsCheck ds = new dsCheck(); // .xsd file name .XSD FILE DataTable dt = new DataTable(); // Just set the name of data table // dt.TableName = "Crystal Report Checks"; dt = getChecks(); // <--Data is good so far. ds.Tables[0].Merge(dt); <-- THIS IS NOT WORKING // Your .rpt file path will be below rptCheck.Load(Ser ...

Go to the complete details ...