I want to use Crystal Reports in my C# application with Access database. i used this code to generate the report.
con.Open();
OleDbCommand Cmd = new OleCommand("SELECT * FROM Article", con);
DataSet Ds = new DataSet();
OleDbDataAdapter dscmd = new OleDbDataAdapter(Cmd);
dscmd.Fill(Ds, "Article");
CrystalReport7 objRpt7 = new CrystalReport7();
objRpt7.SetDataSource(Ds);
crystalReportViewer7.ReportSource = objRpt7;
crystalReportViewer7.Refresh();
con.Close();
But the report is displaying blank, why?
May be the Report is linked to another table, follow this link it helps you in creating Crystal Reports.