Crystal Reports
In Crystal Reports while Dataset gets populated it takes around 1 minute (i.e., having 1,00,000 Records of Data in Database)...Meanwhile my Window Form is hanging...
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Prabhu RajaPosted Sep 5, 2011, 1:37 AM
Based on your description, I performed a test on this issue. However, I was unable to reproduce the problem of the program hanging.
I created a DataSet and a form in the project. I put an instance of the DataSet ,a DataGrid, an SqlDataAdapter instance onto the form. I wrote code in the form's Load event handler to invoke a thread to retrieve data from database to my DataSet instance. The following code is picked out from my project.
private void LoadData()
{
this.sqlDataAdapter1.Fill(this.dataset11.Persons);
}
private void Form1_Load(object sender, System.EventArgs e)
{
Thread thread = new Thread(new ThreadStart(LoadData));
thread.Start();
}
---------------------------------------------------------------------
Sai RamPosted Sep 4, 2011, 8:36 PM
Mahesh ChandPosted Sep 4, 2011, 6:22 PM