0% found this document useful (0 votes)
437 views

ADO.NET PPT

ADO.NET is a set of data access technologies for .NET that provides communication between .NET applications and data sources. It includes data providers that allow communication with different database systems like SQL Server, OLE DB, and ODBC. The core ADO.NET components are the DataSet for data storage, DataAdapters for loading and saving data, and DataReaders for forward-only and read-only record access. ADO.NET supports operations like data binding, filtering, sorting, validation and updates.

Uploaded by

soorneedi1
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
437 views

ADO.NET PPT

ADO.NET is a set of data access technologies for .NET that provides communication between .NET applications and data sources. It includes data providers that allow communication with different database systems like SQL Server, OLE DB, and ODBC. The core ADO.NET components are the DataSet for data storage, DataAdapters for loading and saving data, and DataReaders for forward-only and read-only record access. ADO.NET supports operations like data binding, filtering, sorting, validation and updates.

Uploaded by

soorneedi1
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11

ADO.

NET

Where does ADO sit?


VB C# C++ Jscript Visual Studio .NET Common Language Specification ASP.Net ADO.Net Base Class Library Common Language Runtime (CLR) Windows Forms XML.Net

.NET Data Providers

SQL .NET Data Provider SQL SERVER

Client

OLE DB .NET Data Provider

OLE DB Provider

Other DB

ODBC .NET Data Provider

ODBC Driver

Other DB

Data Controls
ADO.NET
Connection Command DataAdapter DataSet DataReader DataView

ADO.Net object model


DataAdapter
UpdateCommand DeleteCommand SelectCommand InsertCommand Fill Update

DataSet Errors Collection

Command Connection Data Source Parameters

Data Controls
ADO.NET
DataSet

Authors

Database Connection DataAdapter


Select from Authors Authors

Data Controls
ADO.NET
DataSet

Authors

Database Connection
Publishers

Publishers

DataAdapter
Select from Publishers

Sets, Tables and Rows


DataSet DataTable

DataTable DataRow DataRow

Using Namespaces
VB.Net Imports System.Data Imports System.Data.SqlClient Dim sqlAdp as SqlDataAdapter C# using System.Data; using System.Data.SqlClient; SqlDataAdapter sqlAdp= new SqlDataAdapter();

Using DataTables
With a DataTable we can Insert, modify and update Search Apply views Compare Clear Clone and Copy

Data Controls
DataGrid
Displays data as a table Control over
Alternate item Header Footer Colors, font, borders, etc. Paging

Updateable Item as row

You might also like