I have a working CR report which uses an oracle database for a data source. I am modifying it to use an ado.net (visual studio 2005/C#) dataset as a data source. I am following the procedure described in Business Objects "Crystal Reports for Visual Studio .net Reporting Off ADO.Net DataSets" document. The recordset passed to CR contains 20 records, but the report shows no records.
Any ideas?
string SqlCmd = "select fielda, fieldb from tablec";
OleDbDataAdapter OleAdapter = new OleDbDataAdapter(SqlCmd, DbConn);
BillAirspaceDataSet AirspaceDataSet = new BillAirspaceDataSet();
OleAdapter.Fill(AirspaceDataSet);
CrDoc.SetDataSource(AirspaceDataSet);
Any ideas?
string SqlCmd = "select fielda, fieldb from tablec";
OleDbDataAdapter OleAdapter = new OleDbDataAdapter(SqlCmd, DbConn);
BillAirspaceDataSet AirspaceDataSet = new BillAirspaceDataSet();
OleAdapter.Fill(AirspaceDataSet);
CrDoc.SetDataSource(AirspaceDataSet);