is it possible to interrupt fill method of the data adapter?

Hi all,

is it possible to interrupt fill method of the data adapter

Case :

Suppose while filling the dataset using data adapter , say i have a button which says

"Pause Loading" , it will pause the data loading and whatever data is loaded is saved into the dataset again i have resume loading button which will again rsume loading of the data from the point where adapter has been interrupted

is it possible to do in .net without using looping on the dataset becoz i have a lot of data to work with

thanks

Saurabh



Answer this question

is it possible to interrupt fill method of the data adapter?

  • Malcolmw

    Since this is more of a general ado.net question than one specific to the new ado.net CTP, moving to the appropriate forum.

  • chrisryp

    There are methods in which you can sequential read data and stop and resume...but I'm not sure you are going to be able to do that with the fill method of the adapter. You can try using a seperate thread to fill the dataset and when you want to pause...put the thread to sleep...and the wake the thread on resume...

  • is it possible to interrupt fill method of the data adapter?