Difference between datareader and dataset?
Answer Posted / chitaranjan mallick
- Data Reader apply only Select Statement, It can featch data from multiple Table Through Multiple Select Statement separated by Semicolon(;) Likes For Ex:
SqlCommand cmd=new SqlCommand("Select * from Emp";" Select * From Dept",Con);
DataReader dr=cmd.ExecuteReader();
dr.NextResults();
Here NextResults() Navigate from One Tables to Anather Tables
- It is Readonly, It can featch single Record At a Time..
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the various methods provided by the DataSet object to generate XML?
What is concurrency? How will you avoid concurrency when dealing with dataset? (One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid the problem?)
What are all the commands used with Data Adapter?
What is ado net stands for?
What is ole in excel?
Describe ado.net object model in detail.
Explain the difference between data reader and data adapter?
What is ado and dao?
Explain the architecture of ado.net?
Is entity framework better than ado.net?
What we do with the object of ado.net dataset after using it?
What is ado oledb and odbc?
How can we add/remove row's in "datatable" object of "dataset"?
What is ado.net objects?
What are the parameters that control most of connection pooling behaviours?