C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
2
Reply
Compare Data Reader & Dataset in ado.net?
Kanika Mehra
13y
2.4k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
Datareader:- DataReader provides forward-only and read-only access to data. - Datareader is connected architecture - Datareader can not persist data.Dataset:1. Disconnected. 2. Can traverse data in any order front, back. 3. Data can be manipulated within the dataset. 4. More expensive than datareader as it stores multiple rows at the same time.
Bharathi Raja
7y
0
Following are some major differences between dataset and datareader :- 1) DataReader provides forward-only and read-only access to data, while the DataSet object can hold more than one table (in other words more than one rowset) from the same data source as well as the relationships between them. 2)Dataset is a disconnected architecture while datareader is connected architecture. 3)Dataset can persist
Mandar Desai
13y
0
Compare Dataset & Typed Dataset
Differentiate between Data Reader and Data Adapter in ado.net
Message