Difference between ADO.net Dataset , ADO Record Set & ADO Data Reader?
Answers were Sorted based on User's Feedback
Answer / irfanpathan
Dataset is used to get the data from database by creating
objects..After getting data we should store that data.we
use SQLDATAADAPTER for storing data..after storing we will
give connection with SQLCONNECTION class.and then we bind
the data using DATABIND..This total process is appliued
with DATASET.
where as DATAREADER is also for getting data through
database.But it is faster in access.we wont use DATAREADER
because of performance problem..
i too dont know record set..
Is This Answer Correct ? | 9 Yes | 3 No |
Answer / lavanya
With Dataset can retrive the data from two database like
oracle, SQl and merge in one table. Record set is not
possible.
All representation of dataset is using XML while record set
use COM.
Recordset can not be transmitted on HTTP while Dataset can
be.
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / lovenier
We use DataSet to retrieve data from database in disconnected mode, but in the data RecordSet it retrieve data in connected mode..
DataSet is designed to work without any continuing connection to the orignal database, but RecordSet is Required a connected environment.
Data in DataSet is bulk loaded, rather than being loaded on demand.
DataSet have no concept of Cursor and current pointer, you can use for each loops to move through data.
Is This Answer Correct ? | 1 Yes | 0 No |
Which method do you invoke on the DataAdapter control to load your generated dataset with data?
How many no of classes in .net
How many web.config files in each solution
What is the use of asp.net web api?
What are the benefits of Razor View?
After capturing the SelectIndexChanged event for a ListBox Control, you find that the event handler doesn?t execute. What could be the problem be? a) The AutoEventWireup attribute is set to False b) The AutomaticPostBack attribute is set to False c) The codebehind module is not properly compiled d) The ListBox must be defined WithEvents.
What is a web pool?
What is application Object?
How to unit test Web API?
which event in global.asx that fires for every request of same user?
How to reduce the width of textbox in editcommandcolumn of datagrid?
Which is faster viewbag or viewdata?