data reader to data set

  • Thread starter Thread starter simonZ
  • Start date Start date
S

simonZ

I have data reader(I can't create data adapter, because I'm using
command.BeginExecuteReader and EndExecuteReader)
What is the best way to save data reader to table inside the data set?

Any example?

Thanks,
Simon
 
I have data reader(I can't create data adapter, because I'm using
command.BeginExecuteReader and EndExecuteReader)
What is the best way to save data reader to table inside the data set?

I'm really not sure what you mean here...

You are returning a DataReader object which contains data, and then you want
to save it into a table within the Tables collection of a DataSet
object....?

But you're unable to create a DataSet directly...?

So where did the DataSet come from into which you want to insert the data
from your DataReader object...?
 
Back
Top