UNIT 4 Data Access in
UNIT 4 Data Access in
NET
1
2
ADO.NET
stands for ActiveX Data Object.
is set of database programming classes(System . Data)
Gives data access services of .NET framework.
3
1.Data Provider
2.Connection
SQL Server
3.Command 4.Data Reader Ms Access
Oracle
5.Data Adapter
6.Data Set
5
1.Data Provider
Which is set of special purpose classes used to connect a
database ,execute SQL queries &retrieving results.
Those results are processed and stored in data set
6
2.Connection
Used to interact with data source.
7
3.Command
Used to execute SQL queries to read ,add , update & delete
data of a data source through Data Adapter
4. Data Adapter
Is the bridge between a dataset and the connection.
8
5. Data Reader
Reads the data from data source.
1. SqlDataReader
2. OLEDbReader
9
6. Data Set
Used to store the data of database in application.
10
Data Table
Data set is collection of tables , relationship and constraints.
11
Server explorer window appears in left side of the screen.
Used to connect database.
12
Used to display whole table/data in data grid.
Properties of Data Grid:
1.Data source
2.Data Member
17