I have created a blank Crystal report called test.rpt.
I would like to manually add the information from a dataset to the report.
The report is loaded into Crystal Report Viewer.
The below code works in adding the report to the viewer but how would I connect my dataset to it?
I think I am close, just need help with the final display.
private void rptBrowser_Load(object sender, EventArgs e)
// Create new DataSet
mydb thedb = new mydb();
SqlDataAdapter myds = null;
string _sql = "select LogName, Firstname, Lastname from sysUser";
myds = thedb.myDataAdapter(_sql);
ReportDocument cryRpt = new ReportDocument();
cryRpt.Load(myglobal_properties.FP1 + "test.rpt");
rptView.ReportSource = cryRpt;