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

Which property is used to check whether a DataReader is closed or opened?

571


What are disadvantages of microsoft-provided data provider classes in ado.net?

507


What is variable view?

497


What are the parameters that control most of connection pooling behaviors?

516


What does ole stand for in excel?

601






What is disconnected architecture in ado.net?

506


What is ado.net and its architecture?

502


What is ado.net object model?

514


What are the essential features of ado.net?

540


What is the use of connection object in ado.net?

566


Explain About ado.net components/objects. Usage of data adapters and tell the steps to retrieve data.

559


What are ado.net objects?

531


Explain what are acid properties?

542


How to add an aggregate column?

535


Describe datareader object of ado.net with example.

511