Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is a string variable?

974


Which method is used by command class to execute SQL statements that return single value?

1090


what is the difference betwen typed dataset and untyped dataset?in general which dataset can we use in programming?

1063


What is the DataTableCollection?

1097


Why ca not we use multiple inheritance and garbage collector paralelly in .net?

1052


What are the namespaces used in ado.net for data access?

1026


Which one of the objects is a high-level abstraction of the connection and command objects in ado.net?

1195


Which parameter of ConnectionString is used to specify the name of the database?

1113


List all the steps in order, to access a database through ado.net?

1119


What is the difference between an ADO.NET Dataset and an ADO Recordset?

1087


How would you connect to a database by using .NET?

989


How to store data in memory?

991


What is the difference between Response.Expires and Reponse.ExpiresAbsolute?

1074


How can you identify whether or not any changes are made to the DataSet object since it was last loaded?

1104


Explain the role of data provider in ado.net? What is the role of data provider in ado.net?

1045