data reader to data set

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
 
M

Mark Rae

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...?
 

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

Members online

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top