INTERVIEW QUESTIONS
MICROSOFT
.NET DATABASE
DETAILS
Question: What are good ADO.NET object(s) to replace the ADO Recordset object?
Answer: The differences includes In ADO, the in-memory representation of data is the Recordset. In ADO.net, it is the dataset
A recordset looks like a single table in ADO In contrast, a dataset is a collection of one or more tables in ADO.net
ADO is designed primarily for connected access ADO.net the disconnected access to the database is used
In ADO you communicate with the database by making calls to an OLE DB provider. In ADO.NET you communicate with the database through a data adapter (an OleDbDataAdapter, SqlDataAdapter, OdbcDataAdapter, or OracleDataAdapter object), which makes calls to an OLE DB provider or the APIs provided by the underlying data source.
In ADO you cant update the database from the recordset. ADO.NET the data adapter allows you to control how the changes to the dataset are transmitted to the database.
|
Question:
What are good ADO.NET object(s) to replace the ADO Recordset object?
Answer:
The differences includes In ADO, the in-memory representation of data is the Recordset. In ADO.net, it is the dataset
A recordset looks like a single table in ADO In contrast, a dataset is a collection of one or more tables in ADO.net
ADO is designed primarily for connected access ADO.net the disconnected access to the database is used
In ADO you communicate with the database by making calls to an OLE DB provider. In ADO.NET you communicate with the database through a data adapter (an OleDbDataAdapter, SqlDataAdapter, OdbcDataAdapter, or OracleDataAdapter object), which makes calls to an OLE DB provider or the APIs provided by the underlying data source.
In ADO you cant update the database from the recordset. ADO.NET the data adapter allows you to control how the changes to the dataset are transmitted to the database. Source: CoolInterview.com
in ado.net dataset support disconnected architecture whre as in ado recordset not possinle Source: CoolInterview.com
Answered by: aparna | Date: 3/30/2010
| Contact aparna
The differences includes In ADO, the in-memory representation of data is the Recordset. In ADO.net, it is the dataset
A recordset looks like a single table in ADO In contrast, a dataset is a collection of one or more tables in ADO.net
ADO is designed primarily for connected access ADO.net the disconnected access to the database is used
In ADO you communicate with the database by making calls to an OLE DB provider. In ADO.NET you communicate with the database through a data adapter (an OleDbDataAdapter, SqlDataAdapter, OdbcDataAdapter, or OracleDataAdapter object), which makes calls to an OLE DB provider or the APIs provided by the underlying data source.
In ADO you cant update the database from the recordset. ADO.NET the data adapter allows you to control how the changes to the dataset are transmitted to the database.
in ado.net dataset support disconnected architecture whre as in ado recordset not possinle Source: CoolInterview.com
Answered by: sushil | Date: 4/28/2010
| Contact sushil
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|