Answer Posted / manumole
ADO is a com base library that supports only connected
data. This means that when we access the data (view, edit
and update) it is affected in real-time,since the
connection is being used all the time. ADO uses the objects
as reference data known as Recordset object. Hence it
basically gives a single table view of the data. We can
also join tables to create a new set of records in ADO.ADO
allows to create only client-side cursors. Using ADO we can
persist records in XML format and XML integration is not
possible.
ADO.NET is a CLR based library that supports disconnected
recordsets. This means that When we access data, ADO.NET
makes a copy of the data using XML and holds the connection
to pull down the data or to make any requested updates as
long as we need. The best method to follow is
ADO.NET.ADO.NET uses various objects known as Dataset that
allow to access data in various methods. Hence it allows to
store the relational model of the database and helps us to
access /update the data in each related table individually.
ADO.NET supports both client-side and server-side cursors.
Also the cursors are handled as classes in ADO.NET
providing a way to create efficient applications. Using
ADO.NET we can manupulate records in XML format. Also
ADO.NET 2.0 provides Multiple Active ResultSets (MARS)
which allows to have two datareader on one connection open
at sametime.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What are the different ado.net namespaces are available in .net?
What are the namespaces used in ADO.Net to connect to a database?
If a table contains 20000 records . In a page at each time 100 records to be displayed what are the steps you will take to improve performance? Will you use dataset or datareader?
What is ado in agriculture?
Explain which name space is used to get assembly details?
What are the parameters that control most of connection pooling behaviors?
What is meant by ‘transaction’ in a database and what are the ‘properties of transaction’?
Does ado.net use odbc?
Which property is used to check whether a DataReader is closed or opened?
What are the different namespaces used in the project to connect the database? What data providers available in .net to connect to database?
How is entity framework different from ado.net?
What is a sqldataadapter?
Explain About ado.net components/objects. Usage of data adapters and tell the steps to retrieve data.
What is the default timeout specified for "sqlcommand.commandtimeout" property?
How to perform sorting on a table in ADO.NET?