can we have multiple datatables in a datareader ?

Answer Posted / yuri

The question itself is incorrect. A data reader is a stream
of data, while a data table is a fixed structure. Having
said that, a data reader has one or more schema tables which
are of type DataTable. I suppose the correct question would
be: "can one data reader read from multiple SELECT
statements" and the answer to that question is YES.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Data reader read and forward only, how is it possible to get 2 tables of data at a time?

488


What is the meaning of executenonquery?

536


What are the important features of ado.net 2.0?

592


What is aggregate root?

494


What is the functionality of data provider in ado.net?

488






What is ado data control?

521


What is full form of ado?

535


What is the difference between typed and untyped dataset?

508


Define partial class?

510


What are the advantages using ado.net?

536


Does ado.net use odbc?

521


What is ado object model?

513


How do you merge 2 datasets into the third dataset in a simple manner?

535


Explain what is datagrid with an example?

586


What is ado.net code?

520