I'm binding a Crystal Report Source to a SQLDataSource(SqlDataSource1) by a button click like;
DataView dvEnc = (DataView)SqlDataSource1.Select(DataSourceSelectArguments.Empty);
From that poing no problem. The CrystalReportViewer show the report.
But before this operation The Crystal Report runs it's SQL queries and shows wrong data and this slows the pageload. I don't want this happen so I tried to set the datasource(empty one) of CrystalReportSource on Page Init like;
so it's ok no data will be displayed but after I clicked the button, the code in button click work but the CrystalReportViewer don't show any data.
If necessary, I'm using Visual Studio.Net 2005, Asp.Net with C# and the Crystal Report that comes with