Trying to get Crystal Reports to work with Windows forms with a dataset. Heres my form_load event:
sqlDataAdapter1.Fill(dataSet11);
//Pass the dataset to the report
rpt11.Database.Tables[0].SetDataSource(dataSet11.Tables[0]);
crvMain.ReportSource = rpt11;
//Confirm that I have some data...
MessageBox.Show(dataSet11.Tables[0].Rows[0][1].ToString());
...I get a report with headings, but no data.
Anybody???
sqlDataAdapter1.Fill(dataSet11);
//Pass the dataset to the report
rpt11.Database.Tables[0].SetDataSource(dataSet11.Tables[0]);
crvMain.ReportSource = rpt11;
//Confirm that I have some data...
MessageBox.Show(dataSet11.Tables[0].Rows[0][1].ToString());
...I get a report with headings, but no data.
Anybody???