SlideShare a Scribd company logo
Overview of ADO.NET
Architecture of ADO.NET
.NET Data Providers
Data Providers Components
 ADO.NET is a large set of .NET classes that
enable us to retrieve and manipulate data, and
update data.
 As an integral part of the .NET framework, it
shares many of its features:
 sources, in very many different ways.
 features such as multi-language support,
garbage collection, just-in-time compilation,
object-oriented design,
 and dynamic caching, and is far more than an
upgrade of previous versions of ADO.
 The ADO.NET object model consists of two
fundamental components: the Dataset, which
is disconnected from the data source and
doesn't need to know where the data it holds
came from; and the .NET
 data provider. The .NET data providers allow
us to connect to the data source, and to
execute SQL.
 At the time of writing, there are three .NET
data providers available: for SQL Server, for
OLE DB data sources.
 for ODBC-compliant data sources. Each
provider exists in a namespace within the
System. Data namespace, and
 consists of a number of classes.
 Each .NET data provider consists of four main
components:
 Connection – used to connect to the data
source
 Command– used to execute a command
against the data source and retrieve a Data
Reader.
 Dataset, or to execute an INSERT, UPDATE, or
DELETE command against the data source
 Data Reader– a forward-only, read-only
connected result set.
 Data Adapter – used to populate a Dataset
with data from the data source, and to update
the data source
Session x(ado.net)
 The connection classes are very similar to the
ADO Connection object, and like that, they are
used to
 represent a connection to a specific data source.
The connection classes store the information
that ADO.NET
 needs to connect to a data source in the form of
a familiar connection string (just as in ADO).
 The command classes expose the
IDbCommand interface and are similar to the
ADO Command object – they
 are used to execute SQL statements or stored
procedures in the data source. Also, like the
ADO Command
 object, the command classes have a Command
Text property, which contains the text of the
command to be
 executed against the data source, and a
Command Type property, which indicates
whether the command is a
 SQL statement, the name of a stored procedure,
or the name of a table.
Session x(ado.net)
 The DataReader is ADO.NET's answer to the
connected recordset in ADO. However, the
DataReader is
 forward-only and read-only – we can't navigate
through it at random, and we can't use it to
update the data source. It
 therefore allows extremely fast access to data
that we just want to iterate through once, and it
is recommended to use
 the Data Reader (rather than the DataSet)
wherever possible.
Session x(ado.net)
 The other major component of ADO.NET
is the DataSet; this corresponds very
roughly to the ADO
 recordset. It differs, however, in two
important respects. The first of these is
that the DataSet is always
 exactly the same way to manipulate data from
a traditional data source or from an XML
document. In order to
 connect a DataSet to a data source, we need to
use the DataAdapter as an intermediary
between the
 DataSet and the .NET data provider:
Session x(ado.net)
Session x(ado.net)

More Related Content

PPT
ado.net
PPTX
3. ADO.NET
PPTX
Krish data controls
PPTX
Chap 9 report (1st time upload/experiment)
PPT
Ado.net
PPT
Chap14 ado.net
PDF
Asp.net interview questions
ado.net
3. ADO.NET
Krish data controls
Chap 9 report (1st time upload/experiment)
Ado.net
Chap14 ado.net
Asp.net interview questions

What's hot (19)

PPTX
MarcEdit Shelter-In-Place Webinar 5: Working with MarcEdit's Linked Data Fram...
PPTX
MarcEdit Shelter-In-Place Webinar 4: Merging, Clustering, and Integrations…oh...
PDF
WEB PROGRAMMING USING ASP.NET
PPT
Database programming in vb net
PPTX
Overview Of ADO .NET from Wingslive.com
DOCX
Data mining with ms access
PPTX
Working with the MarcEditor
PPTX
Xml and xml processor
PPT
PPT
Sql Server Basics
RTF
Bdc Screens
DOCX
PPT
vishual basic data base Pankaj
PPT
My Sql
PPT
Web service
PPTX
No sq lv2
PPTX
Apache storm
PPT
ADO CONTROLS - Database usage
MarcEdit Shelter-In-Place Webinar 5: Working with MarcEdit's Linked Data Fram...
MarcEdit Shelter-In-Place Webinar 4: Merging, Clustering, and Integrations…oh...
WEB PROGRAMMING USING ASP.NET
Database programming in vb net
Overview Of ADO .NET from Wingslive.com
Data mining with ms access
Working with the MarcEditor
Xml and xml processor
Sql Server Basics
Bdc Screens
vishual basic data base Pankaj
My Sql
Web service
No sq lv2
Apache storm
ADO CONTROLS - Database usage
Ad

Viewers also liked (17)

PPTX
Del Piero
DOCX
CURRICULUM VITAE OF MATOME FRANS KUJWANA - 2015
PDF
12 under 12 spotlight from texas aggie mag 2014-01
PDF
De-risking Projects and Setting up for High Performance Delivery
DOCX
Evaluation 3
PPS
Is the stranger an alien cross culture 2013
PPTX
Vietnam Major Attractions
PPTX
Rais aqmaril abdurrasyid
PDF
PPTX
Evaluation 2
PDF
QNUPS Presentation
PDF
Resume (Moody)
PPT
Factoring Scenarios: How We Help Small Businesses
PDF
La qualità tutti i giorni.
PDF
Wprowadzenie do sbc bi
PPTX
UPDATED - Internet Excavations by a New Scripophilist
DOC
Final Assignment APA
Del Piero
CURRICULUM VITAE OF MATOME FRANS KUJWANA - 2015
12 under 12 spotlight from texas aggie mag 2014-01
De-risking Projects and Setting up for High Performance Delivery
Evaluation 3
Is the stranger an alien cross culture 2013
Vietnam Major Attractions
Rais aqmaril abdurrasyid
Evaluation 2
QNUPS Presentation
Resume (Moody)
Factoring Scenarios: How We Help Small Businesses
La qualità tutti i giorni.
Wprowadzenie do sbc bi
UPDATED - Internet Excavations by a New Scripophilist
Final Assignment APA
Ad

Similar to Session x(ado.net) (20)

PPTX
Ado.Net Tutorial
DOC
PPT
Introduction to ado.net
PPTX
PPT temp.pptx
PDF
In about a paragraph and in your own words, describe exactly what AD.pdf
PPTX
Ado.net
PPT
Chapter 4 event it theory programming.pptx
PPT
Introduction to ado
DOC
Microsoft data access components
PDF
What is ado .net architecture_.pdf
PPTX
Ado.net
PPT
PPTX
Ch06 ado.net fundamentals
PPTX
111111112222223333335555555666Unit-4.pptx
PPT
ADO .Net
PDF
Ado.Net Architecture
PPTX
Is2215 lecture7 lecturer_ado_intro
PPT
6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf
PPT
6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf
PPTX
Csharp_dotnet_ADO_Net_database_query.pptx
Ado.Net Tutorial
Introduction to ado.net
PPT temp.pptx
In about a paragraph and in your own words, describe exactly what AD.pdf
Ado.net
Chapter 4 event it theory programming.pptx
Introduction to ado
Microsoft data access components
What is ado .net architecture_.pdf
Ado.net
Ch06 ado.net fundamentals
111111112222223333335555555666Unit-4.pptx
ADO .Net
Ado.Net Architecture
Is2215 lecture7 lecturer_ado_intro
6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf
6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf
Csharp_dotnet_ADO_Net_database_query.pptx

More from Shrijan Tiwari (12)

PPT
ASPX Session xi(page lifecycle)
PPT
Session viii(state mngtserver)
PPT
Session viii(state mngtclient)
PPT
Session vii(java scriptbasics)
PPT
Session vi(user control)
PPTX
Session v(css)
PPT
Session ix(database)
PPT
Session iv(master pages)
PPT
Session iii(server controls)
PPTX
Session ii(html)
PPT
Session i(introduction)
PPTX
Introduction to android
ASPX Session xi(page lifecycle)
Session viii(state mngtserver)
Session viii(state mngtclient)
Session vii(java scriptbasics)
Session vi(user control)
Session v(css)
Session ix(database)
Session iv(master pages)
Session iii(server controls)
Session ii(html)
Session i(introduction)
Introduction to android

Recently uploaded (20)

PDF
medical staffing services at VALiNTRY
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
Transform Your Business with a Software ERP System
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
history of c programming in notes for students .pptx
PPT
Introduction Database Management System for Course Database
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
System and Network Administraation Chapter 3
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
L1 - Introduction to python Backend.pptx
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
medical staffing services at VALiNTRY
CHAPTER 2 - PM Management and IT Context
Upgrade and Innovation Strategies for SAP ERP Customers
Transform Your Business with a Software ERP System
Design an Analysis of Algorithms II-SECS-1021-03
Operating system designcfffgfgggggggvggggggggg
history of c programming in notes for students .pptx
Introduction Database Management System for Course Database
Wondershare Filmora 15 Crack With Activation Key [2025
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
System and Network Administraation Chapter 3
Understanding Forklifts - TECH EHS Solution
Which alternative to Crystal Reports is best for small or large businesses.pdf
2025 Textile ERP Trends: SAP, Odoo & Oracle
L1 - Introduction to python Backend.pptx
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
How to Migrate SBCGlobal Email to Yahoo Easily
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
How to Choose the Right IT Partner for Your Business in Malaysia
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...

Session x(ado.net)

  • 1. Overview of ADO.NET Architecture of ADO.NET .NET Data Providers Data Providers Components
  • 2.  ADO.NET is a large set of .NET classes that enable us to retrieve and manipulate data, and update data.  As an integral part of the .NET framework, it shares many of its features:  sources, in very many different ways.
  • 3.  features such as multi-language support, garbage collection, just-in-time compilation, object-oriented design,  and dynamic caching, and is far more than an upgrade of previous versions of ADO.
  • 4.  The ADO.NET object model consists of two fundamental components: the Dataset, which is disconnected from the data source and doesn't need to know where the data it holds came from; and the .NET  data provider. The .NET data providers allow us to connect to the data source, and to execute SQL.
  • 5.  At the time of writing, there are three .NET data providers available: for SQL Server, for OLE DB data sources.  for ODBC-compliant data sources. Each provider exists in a namespace within the System. Data namespace, and  consists of a number of classes.
  • 6.  Each .NET data provider consists of four main components:  Connection – used to connect to the data source  Command– used to execute a command against the data source and retrieve a Data Reader.
  • 7.  Dataset, or to execute an INSERT, UPDATE, or DELETE command against the data source  Data Reader– a forward-only, read-only connected result set.  Data Adapter – used to populate a Dataset with data from the data source, and to update the data source
  • 9.  The connection classes are very similar to the ADO Connection object, and like that, they are used to  represent a connection to a specific data source. The connection classes store the information that ADO.NET  needs to connect to a data source in the form of a familiar connection string (just as in ADO).
  • 10.  The command classes expose the IDbCommand interface and are similar to the ADO Command object – they  are used to execute SQL statements or stored procedures in the data source. Also, like the ADO Command  object, the command classes have a Command Text property, which contains the text of the command to be
  • 11.  executed against the data source, and a Command Type property, which indicates whether the command is a  SQL statement, the name of a stored procedure, or the name of a table.
  • 13.  The DataReader is ADO.NET's answer to the connected recordset in ADO. However, the DataReader is  forward-only and read-only – we can't navigate through it at random, and we can't use it to update the data source. It
  • 14.  therefore allows extremely fast access to data that we just want to iterate through once, and it is recommended to use  the Data Reader (rather than the DataSet) wherever possible.
  • 16.  The other major component of ADO.NET is the DataSet; this corresponds very roughly to the ADO  recordset. It differs, however, in two important respects. The first of these is that the DataSet is always
  • 17.  exactly the same way to manipulate data from a traditional data source or from an XML document. In order to  connect a DataSet to a data source, we need to use the DataAdapter as an intermediary between the  DataSet and the .NET data provider: