Você está na página 1de 2

What is ADO.

net
ADO.net is data access architecture for the Microsoft .NET Framework.

Difference between ADO and ADO.net

1. ADO used connected data usage, while ADO.net used disconnected data
environment.
2. ADO used OLE DB to access data and is COM-based, while ADO.net uses XML
as the format for transmitting data to and from your database and web application.
3. In ADO, Record set, is like a single table or query result, while in ADO.net
Dataset, can contain multiple tables from any data source.
4. In ADO, it is sometime problematic because firewall prohibits many types of
request, while in ADO.net there is no such problem because XML is completely
firewall-proof.

Difference between ADO.net Dataset and ADO Recordset

A DataSet can represent an entire relational database in memory, complete with tables,
relations, and views.
· A DataSet is designed to work without any continuing connection to the original data
source.
· Data in a DataSet is bulk-loaded, rather than being loaded on demand.
· There's no concept of cursor types in a DataSet.
· DataSets have no current record pointer You can use For Each loops to move through
the data.
· You can store many edits in a DataSet, and write them to the original data source in a
single operation.
· Though the DataSet is universal, other objects in ADO.NET come in different versions
for different data sources.

FAQ collected from http://www.dng-ado.blogspot.com

ADO.net Terms

5. Data Source: It can be a database, text file, excel spread sheet or an XML
file.
6. Data Provider: A set of libraries that is used to communicate with data source.
Eg: SQL data provider for SQL, Oracle data provider for Oracle, OLE DB data
provider for access, excel or mysql.
7. SQL Connection: It establishes connection.
8. SQL Command: It allows to manipulate database by executing stored procedure
or sql statements.
9. SQL DataReader: It provides a forward-only, read-only, connected recordset.
10. DataSet: dataset is a disconnected, in-memory representation of data. It can
contain multiple data table from different database.
11. SQL DataAdapter: It populates dataset from data source. It contains a reference
to the connection object and opens and closes the connection automatically when
reading from or writing to the database.
12. DataView: It provides a means to filter and sort data within a data table.

FAQ collected from http://www.dng-ado.blogspot.com


Filed under: dotnetguts, ado.net faq, ado.net, dataset, datareader

Re: ADO.net FAQ collection

04-22-2007, 10:08 PM

Você também pode gostar