Thread question

  • Thread starter Thread starter BVM
  • Start date Start date
B

BVM

Hi:

I am doing databinding on a datagrid with a big table. It takes very long time to finish it. I wonder if it's possible to use thread to divide databinding into several phases in the background. so user don't have to wait so long. for example, I display first 50 records to users, then add the rest using thread in the background. Is this possible?

Thanks,

Dennis Huang
 
Yes it is - look at Juval Lowy's Background worker component for 1.1 and the same component now as part of VS 2005. You can also do it yourself but this makes it easier.

Stephen
Hi:

I am doing databinding on a datagrid with a big table. It takes very long time to finish it. I wonder if it's possible to use thread to divide databinding into several phases in the background. so user don't have to wait so long. for example, I display first 50 records to users, then add the rest using thread in the background. Is this possible?

Thanks,

Dennis Huang
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top