Author: StopGo | Posted on: 7/9/2010 3:27:00 PM | Views : 457

I need to asynchronously retrieve several resultsets which I store in DataTables and add these DataTables to a DataSet.  When the final DataTable is filled and added to the DataSet the page must then continue processing utilizing this DataSet  I have figured out how to implement delegates to asynchronously retrieve my DataTables but I'm unclear how to add them to a DataSet in a thread-safe manner.  How is this best accomplished?  Before processing I know how many DataTables there will be, so what is the best way to track the progress of the asynchronous retrievals and allow the page to continue only after I have all of the data?  Thanks for any help...

...

Go to the complete details ...