Multiple active readers on one connection?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi;

For a single DbConnection, can I call DbCommand.ExecuteReader() for several
selects and then for each reader call Read() and iterate through the rows. I
have a situation where for my outer reader, for each row I need to call a
select and iterate through the inner list of rows.
 
Hi;

I'm .NET 2.0 only. Does that make a difference?

If I go the DataSet route, then can I do this?
 

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