Hi,
I am using CrystalReport11-R2 in my application. I have uses A DataTable of Typed Dataset as DataSource. I have used querries in front end the querry returns a DataTable. This DataTable has been added in DataTable of TypedDataSet. Like;
ReportDocument rptdmt=new ReportDocument();
rptdmt.Load(FileName);
strring querry="Select values from tableName";
DataTable dt=DA.ExecuteDataTable(querry);
Myapp.DataSet1.DataTable1 dtReport=new Myapp.DataSet1.DataTable1();
foreach(DataRow dr in dt..Rows)
{
dtReport.Add(dr.ItemArray);
}
rptdmt.SetDataSource(dtReport)
crViewer.ReportSource=rptdmt;
This is pattern of my codeing for displaying report. The data are correctly displayed. My only problem is report is displayed after long time which is very slow in my application. Please advice me how can speed up my report display?