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 does executereader return?
How to read data with the sqldatareader ?
What is the difference between ado.net and oledb?
What is Data view?
What are the advantages and drawbacks of using ado.net?
What is the difference between ADO and ADO.Net?
Define Execute Reader?
What two types of data providers does ADO.NET supply? What determines which one you should use?
What are ado.net objects?
What are the advantages and disadvantages of using datalist?
What are the major difference between classic ADO and ADO.NET?
How can we add relation between tables in a dataset?
What is the difference between SqlCommand and SqlCommandBuilder?
What are the different methods available under the sqlcommand class to access the data?
What is ado rdo dao in visual basic?