SlideShare a Scribd company logo
Working with ADO.NET

Objectives
In this lesson, you will learn to:
Identify the need for ADO.NET
Identify the features of ADO.NET
Identify the components of the ADO.NET object model
Connect to a database by creating a data adapter
Access a database through a dataset
Preview the data adapter result




   ©NIIT                        Working with ADO.NET/Lesson 5/Slide 1 of 30
Working with ADO.NET

ADO.NET
 Is a model used by Visual Basic .NET applications to
  communicate with a database for retrieving, accessing, and
  updating data.
 Uses a structured process flow to interact with a database.




   ©NIIT                     Working with ADO.NET/Lesson 5/Slide 2 of 30
Working with ADO.NET

Features of ADO.NET
 Disconnected data architecture — Applications connect to
  the database only while retrieving and updating data.
 Data cached in datasets — ADO.NET is based on a
  disconnected data structure. Therefore, the data is retrieved
  and stored in datasets.
 Data transfer in XML format — ADO.NET uses XML for
  transferring information from a database into a dataset and
  from the dataset to another component.
 Interaction with the database is done through data
  commands.



   ©NIIT                      Working with ADO.NET/Lesson 5/Slide 3 of 30
Working with ADO.NET

Just a Minute…
List the features of ADO.NET.




   ©NIIT                    Working with ADO.NET/Lesson 5/Slide 4 of 30
Working with ADO.NET

ADO.NET Object Model


                                               DATA PROVIDER

                                                               Establishes
                                                               connection with
                                                               the database
                                                CONNECTION
                                                               Retrieves data in a
          VISUAL           Accessing                               read-only,
          BASIC .NET       retrieved data                      forward only mode
          APPLICATION                           DATA READER
          (WINDOWS/                                            Executes a
          WEB FORM)                                            command to retrieve
                                                               data from the       DATABASE

                                                 COMMAND       database

                 Accessing retrieved                           Transfers data to
                 data                                          the dataset and
                                                               reflects the
                        Filling dataset with                   changes made in
                        data                                   the dataset to the
           DATASET
                                               DATA ADAPTER    database




  ©NIIT                                          Working with ADO.NET/Lesson 5/Slide 5 of 30
Working with ADO.NET

ADO.NET Object Model (Contd.)
Data from a database can be assessed through:
    A dataset
    A DataReader object




  ©NIIT                    Working with ADO.NET/Lesson 5/Slide 6 of 30
Working with ADO.NET

Key Components of the ADO.NET Model
Data Provider
    Is used for connecting to a database, retrieving data,
     and storing the data.
    Is of two types:
          ® OLE   DB data provider
          ® SQL   Server data provider




  ©NIIT                         Working with ADO.NET/Lesson 5/Slide 7 of 30
Working with ADO.NET

Just a Minute…
Identify the two types of data providers and list the difference
between them.




   ©NIIT                       Working with ADO.NET/Lesson 5/Slide 8 of 30
Working with ADO.NET

Components of a Data Provider
Connection
    Used to establish a connection with a data source
    Some commonly used properties and methods:
           ® ConnectionString   property
           ® Open()method

           ® Close()method

           ® State   property




   ©NIIT                          Working with ADO.NET/Lesson 5/Slide 9 of 30
Working with ADO.NET

Components of a Data Provider (Contd.)
Data adapter
    Creates a dataset and updates the database.
    Handles data transfer between the database and the
     dataset through its properties and methods.
    Displays the data through the process of table mapping.
    Are of two types:
           ® SqlDataAdapter

           ® OleDbDataAdapter




   ©NIIT                        Working with ADO.NET/Lesson 5/Slide 10 of 30
Working with ADO.NET

Just a Minute…
What is the function of a data adapter?




   ©NIIT                     Working with ADO.NET/Lesson 5/Slide 11 of 30
Working with ADO.NET

Components of a Data Provider (Contd.)
Data command
    Is a SQL statement or a stored procedure that is used to
     retrieve, insert, delete, or modify data from a data
     source.
    Is an object of the OleDbCommand or SQLCommand
     class.




   ©NIIT                    Working with ADO.NET/Lesson 5/Slide 12 of 30
Working with ADO.NET

Components of a Data Provider (Contd.)
Data reader
    Is used to retrieve data from a data source in a
     read-only and forward-only mode.
    Stores a single row at a time in the memory.
    Commonly used methods:
           ® Read()

           ® Close()

           ® NextResult()




   ©NIIT                    Working with ADO.NET/Lesson 5/Slide 13 of 30
Working with ADO.NET

Dataset
Is a disconnected, cached set of records that are retrieved
       from a database.
Is present as a DataSet class in the System.Data
namespace.
Has its own object model.




   ©NIIT                     Working with ADO.NET/Lesson 5/Slide 14 of 30
Working with ADO.NET

Dataset Object Model


                                           DATASET




          DataRelationCollection     DataTableCollection          ExtendedProperties




                 DataRelation            DataTable




            DataRowCollection      DataView          PrimaryKey       DataColumnCollection




                   DataRow                                              DataColumn




  ©NIIT                                           Working with ADO.NET/Lesson 5/Slide 15 of 30
Working with ADO.NET

Just a Minute…
What are the various components of a dataset?




   ©NIIT                   Working with ADO.NET/Lesson 5/Slide 16 of 30
Working with ADO.NET

Problem Statement 5.D.1
The call center application needs to provide the facility of
viewing the customer details for the Sales department.




   ©NIIT                      Working with ADO.NET/Lesson 5/Slide 17 of 30
Working with ADO.NET

Task List
Identify the data that needs to be displayed.
Identify the method for creating a data adapter.
Identify the type of dataset to be created.
Create a data adapter.
Create a dataset.
Preview the database records.




   ©NIIT                     Working with ADO.NET/Lesson 5/Slide 18 of 30
Working with ADO.NET

Task 1: Identify the data that needs to be displayed.
Result:
As per the given problem statement, the data to be
displayed is as follows:
     CustID
     FName
     LName
     Address
     Phone
     email


   ©NIIT                   Working with ADO.NET/Lesson 5/Slide 19 of 30
Working with ADO.NET

Task 2: Identify the method for creating a data
adapter.
There are three methods to create a data adapter:
    Manually
    Through a wizard
    Using the Server Explorer window
Result:
In the given problem statement, you will create a data
adapter by using Data Adapter Configuration Wizard since it
  lets you create a data adapter with minimum steps.



   ©NIIT                    Working with ADO.NET/Lesson 5/Slide 20 of 30
Working with ADO.NET

Just a Minute…
What are the different methods of creating a data adapter?




   ©NIIT                    Working with ADO.NET/Lesson 5/Slide 21 of 30
Working with ADO.NET

Task 3: Identify the type of dataset to be created.
Datasets are of two types:
    Typed
    Untyped
Typed dataset
    Is derived from the DataSet class and has an
     associated XML schema, which is created at the time of
     the creation of the dataset.
    Can be customized after creation.
    Supports Intellisense and auto‑completion for the
     elements of the syntax while writing code.

   ©NIIT                      Working with ADO.NET/Lesson 5/Slide 22 of 30
Working with ADO.NET

Task 3: Identify the type of dataset to be created.
  (Contd.)
 Untyped dataset
    Does not have any associated XML schema, therefore,
     the structure of an untyped dataset is not known at the
     compile time.
    Represents tables and columns as collections.
    Does not support Intellisense and auto‑completion for
     the elements of the syntax.
Result:
 Since the structure of the data is known at compile time,
  you will create a typed dataset for the given problem
  statement.

   ©NIIT                     Working with ADO.NET/Lesson 5/Slide 23 of 30
Working with ADO.NET

Just a Minute…
What is the difference between typed and untyped dataset?




   ©NIIT                   Working with ADO.NET/Lesson 5/Slide 24 of 30
Working with ADO.NET

Task 4: Create a data adapter.
Task 5: Create a dataset.
Task 6: Preview the database records.




  ©NIIT                 Working with ADO.NET/Lesson 5/Slide 25 of 30
Working with ADO.NET

Problem Statement 5.P.1
An application needs to be created that allows the Diaz
Telecommunications Sales Manager to preview the customer
order details from the database. In addition, for each order,
percentage of the cost of a product given as advance needs to
be previewed.




   ©NIIT                    Working with ADO.NET/Lesson 5/Slide 26 of 30
Working with ADO.NET

Summary
In this lesson, you learned that:
ADO.NET is a data access programming model for
accessing the data stored in a database from a .NET
application.
ADO.NET has the following features:
     A disconnected data architecture
     Data cached in datasets
     The use of XML format for data transfer
     Database operations done through data commands



   ©NIIT                      Working with ADO.NET/Lesson 5/Slide 27 of 30
Working with ADO.NET

Summary (Contd.)
 ADO.NET consists of the following components:
    Data Provider — Used for connecting to a database,
     retrieving data, storing the data in a dataset, and
     updating the database.
    Data Adapter — A data adapter is integral to the
     working of the ADO.NET model since data transfer to
     and from the database is done through a data adapter.
    Dataset — A dataset is a disconnected cached set of
     records that are retrieved from the database.
 A data adapter communicates with a database through data
       commands. These data commands use parameters for
       execution.
  ©NIIT                    Working with ADO.NET/Lesson 5/Slide 28 of 30
Working with ADO.NET

Summary (Contd.)
After a dataset has been created, a data adapter uses the
       process of table mapping to map the columns in the
       database table with the dataset columns.
A data adapter can be created by using any of the following
      methods:
    Manually
    Through a wizard
    By using Server Explorer




   ©NIIT                    Working with ADO.NET/Lesson 5/Slide 29 of 30
Working with ADO.NET

Summary (Contd.)
Datasets are of two types:
    Typed datasets – A typed dataset is derived from the
     DataSet class and has an associated schema.
    Untyped datasets – An untyped dataset does not have
     any associated XML schema. The tables and columns
     in an untyped dataset are represented as collections.




   ©NIIT                      Working with ADO.NET/Lesson 5/Slide 30 of 30

More Related Content

PPS
Vb.net session 16
PPS
Ado.net session01
PPS
Dacj 2-2 c
PPS
Ado.net session07
PPS
Ado.net session02
PPS
Ado.net session04
PPS
Ado.net session05
PPS
Vb.net session 06
Vb.net session 16
Ado.net session01
Dacj 2-2 c
Ado.net session07
Ado.net session02
Ado.net session04
Ado.net session05
Vb.net session 06

What's hot (9)

PPS
Ado.net session10
PPS
Vb.net session 05
PPTX
Ado.net
PPS
Dacj 4 1-c
PPS
Dacj 4 1-b
PPTX
PATTERNS07 - Data Representation in C#
PDF
PDF
Intake 38 10
PDF
An overview of fragmentation
Ado.net session10
Vb.net session 05
Ado.net
Dacj 4 1-c
Dacj 4 1-b
PATTERNS07 - Data Representation in C#
Intake 38 10
An overview of fragmentation
Ad

Viewers also liked (6)

PPTX
Ch06 ado.net fundamentals
PPTX
ADO.NET by ASP.NET Development Company in india
PPSX
ADO.NET
PPT
ASP.NET 09 - ADO.NET
PPT
For Beginers - ADO.Net
PPT
Introduction to ADO.NET
Ch06 ado.net fundamentals
ADO.NET by ASP.NET Development Company in india
ADO.NET
ASP.NET 09 - ADO.NET
For Beginers - ADO.Net
Introduction to ADO.NET
Ad

Similar to Vb net xp_05 (20)

PPTX
ADO .NET by Sonu Vishwakarma
PPTX
Ado.net
PPTX
Ado .net
PDF
Ado.Net Architecture
PPTX
Chapter 3: ado.net
PPTX
Is2215 lecture7 lecturer_ado_intro
PPT
2310 b 09
PPT
Marmagna desai
PPT
ADO .Net
PDF
Visual Basic.Net & Ado.Net
PPT
the .NET Framework. It provides the claf
PPTX
Krish data controls
PPT
Session 7 Bai 7 ve winform
PPTX
ADO architecture of XML andd Windows form
PPTX
Ado.Net Tutorial
PDF
Presentation on the ADO.NET framework in C#
PPT
Introduction to ado
PPT
ADO.NET
PPT
PPTX
Ado.net by Awais Majeed
ADO .NET by Sonu Vishwakarma
Ado.net
Ado .net
Ado.Net Architecture
Chapter 3: ado.net
Is2215 lecture7 lecturer_ado_intro
2310 b 09
Marmagna desai
ADO .Net
Visual Basic.Net & Ado.Net
the .NET Framework. It provides the claf
Krish data controls
Session 7 Bai 7 ve winform
ADO architecture of XML andd Windows form
Ado.Net Tutorial
Presentation on the ADO.NET framework in C#
Introduction to ado
ADO.NET
Ado.net by Awais Majeed

More from Niit Care (20)

PPS
Ajs 1 b
PPS
Ajs 4 b
PPS
Ajs 4 a
PPS
Ajs 4 c
PPS
Ajs 3 b
PPS
Ajs 3 a
PPS
Ajs 3 c
PPS
Ajs 2 b
PPS
Ajs 2 a
PPS
Ajs 2 c
PPS
Ajs 1 a
PPS
Ajs 1 c
PPS
Dacj 4 2-c
PPS
Dacj 4 2-b
PPS
Dacj 4 2-a
PPS
Dacj 4 1-a
PPS
Dacj 1-2 b
PPS
Dacj 1-3 c
PPS
Dacj 1-3 b
PPS
Dacj 1-3 a
Ajs 1 b
Ajs 4 b
Ajs 4 a
Ajs 4 c
Ajs 3 b
Ajs 3 a
Ajs 3 c
Ajs 2 b
Ajs 2 a
Ajs 2 c
Ajs 1 a
Ajs 1 c
Dacj 4 2-c
Dacj 4 2-b
Dacj 4 2-a
Dacj 4 1-a
Dacj 1-2 b
Dacj 1-3 c
Dacj 1-3 b
Dacj 1-3 a

Recently uploaded (20)

PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Spectroscopy.pptx food analysis technology
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PPTX
cloud_computing_Infrastucture_as_cloud_p
PPT
Teaching material agriculture food technology
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
TLE Review Electricity (Electricity).pptx
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Mushroom cultivation and it's methods.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
A comparative study of natural language inference in Swahili using monolingua...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Assigned Numbers - 2025 - Bluetooth® Document
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
SOPHOS-XG Firewall Administrator PPT.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Spectroscopy.pptx food analysis technology
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Unlocking AI with Model Context Protocol (MCP)
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
cloud_computing_Infrastucture_as_cloud_p
Teaching material agriculture food technology
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Building Integrated photovoltaic BIPV_UPV.pdf
TLE Review Electricity (Electricity).pptx
A comparative analysis of optical character recognition models for extracting...
Programs and apps: productivity, graphics, security and other tools
Mushroom cultivation and it's methods.pdf
MIND Revenue Release Quarter 2 2025 Press Release

Vb net xp_05

  • 1. Working with ADO.NET Objectives In this lesson, you will learn to: Identify the need for ADO.NET Identify the features of ADO.NET Identify the components of the ADO.NET object model Connect to a database by creating a data adapter Access a database through a dataset Preview the data adapter result ©NIIT Working with ADO.NET/Lesson 5/Slide 1 of 30
  • 2. Working with ADO.NET ADO.NET Is a model used by Visual Basic .NET applications to communicate with a database for retrieving, accessing, and updating data. Uses a structured process flow to interact with a database. ©NIIT Working with ADO.NET/Lesson 5/Slide 2 of 30
  • 3. Working with ADO.NET Features of ADO.NET Disconnected data architecture — Applications connect to the database only while retrieving and updating data. Data cached in datasets — ADO.NET is based on a disconnected data structure. Therefore, the data is retrieved and stored in datasets. Data transfer in XML format — ADO.NET uses XML for transferring information from a database into a dataset and from the dataset to another component. Interaction with the database is done through data commands. ©NIIT Working with ADO.NET/Lesson 5/Slide 3 of 30
  • 4. Working with ADO.NET Just a Minute… List the features of ADO.NET. ©NIIT Working with ADO.NET/Lesson 5/Slide 4 of 30
  • 5. Working with ADO.NET ADO.NET Object Model DATA PROVIDER Establishes connection with the database CONNECTION Retrieves data in a VISUAL Accessing read-only, BASIC .NET retrieved data forward only mode APPLICATION DATA READER (WINDOWS/ Executes a WEB FORM) command to retrieve data from the DATABASE COMMAND database Accessing retrieved Transfers data to data the dataset and reflects the Filling dataset with changes made in data the dataset to the DATASET DATA ADAPTER database ©NIIT Working with ADO.NET/Lesson 5/Slide 5 of 30
  • 6. Working with ADO.NET ADO.NET Object Model (Contd.) Data from a database can be assessed through: A dataset A DataReader object ©NIIT Working with ADO.NET/Lesson 5/Slide 6 of 30
  • 7. Working with ADO.NET Key Components of the ADO.NET Model Data Provider Is used for connecting to a database, retrieving data, and storing the data. Is of two types: ® OLE DB data provider ® SQL Server data provider ©NIIT Working with ADO.NET/Lesson 5/Slide 7 of 30
  • 8. Working with ADO.NET Just a Minute… Identify the two types of data providers and list the difference between them. ©NIIT Working with ADO.NET/Lesson 5/Slide 8 of 30
  • 9. Working with ADO.NET Components of a Data Provider Connection Used to establish a connection with a data source Some commonly used properties and methods: ® ConnectionString property ® Open()method ® Close()method ® State property ©NIIT Working with ADO.NET/Lesson 5/Slide 9 of 30
  • 10. Working with ADO.NET Components of a Data Provider (Contd.) Data adapter Creates a dataset and updates the database. Handles data transfer between the database and the dataset through its properties and methods. Displays the data through the process of table mapping. Are of two types: ® SqlDataAdapter ® OleDbDataAdapter ©NIIT Working with ADO.NET/Lesson 5/Slide 10 of 30
  • 11. Working with ADO.NET Just a Minute… What is the function of a data adapter? ©NIIT Working with ADO.NET/Lesson 5/Slide 11 of 30
  • 12. Working with ADO.NET Components of a Data Provider (Contd.) Data command Is a SQL statement or a stored procedure that is used to retrieve, insert, delete, or modify data from a data source. Is an object of the OleDbCommand or SQLCommand class. ©NIIT Working with ADO.NET/Lesson 5/Slide 12 of 30
  • 13. Working with ADO.NET Components of a Data Provider (Contd.) Data reader Is used to retrieve data from a data source in a read-only and forward-only mode. Stores a single row at a time in the memory. Commonly used methods: ® Read() ® Close() ® NextResult() ©NIIT Working with ADO.NET/Lesson 5/Slide 13 of 30
  • 14. Working with ADO.NET Dataset Is a disconnected, cached set of records that are retrieved from a database. Is present as a DataSet class in the System.Data namespace. Has its own object model. ©NIIT Working with ADO.NET/Lesson 5/Slide 14 of 30
  • 15. Working with ADO.NET Dataset Object Model DATASET DataRelationCollection DataTableCollection ExtendedProperties DataRelation DataTable DataRowCollection DataView PrimaryKey DataColumnCollection DataRow DataColumn ©NIIT Working with ADO.NET/Lesson 5/Slide 15 of 30
  • 16. Working with ADO.NET Just a Minute… What are the various components of a dataset? ©NIIT Working with ADO.NET/Lesson 5/Slide 16 of 30
  • 17. Working with ADO.NET Problem Statement 5.D.1 The call center application needs to provide the facility of viewing the customer details for the Sales department. ©NIIT Working with ADO.NET/Lesson 5/Slide 17 of 30
  • 18. Working with ADO.NET Task List Identify the data that needs to be displayed. Identify the method for creating a data adapter. Identify the type of dataset to be created. Create a data adapter. Create a dataset. Preview the database records. ©NIIT Working with ADO.NET/Lesson 5/Slide 18 of 30
  • 19. Working with ADO.NET Task 1: Identify the data that needs to be displayed. Result: As per the given problem statement, the data to be displayed is as follows: CustID FName LName Address Phone email ©NIIT Working with ADO.NET/Lesson 5/Slide 19 of 30
  • 20. Working with ADO.NET Task 2: Identify the method for creating a data adapter. There are three methods to create a data adapter: Manually Through a wizard Using the Server Explorer window Result: In the given problem statement, you will create a data adapter by using Data Adapter Configuration Wizard since it lets you create a data adapter with minimum steps. ©NIIT Working with ADO.NET/Lesson 5/Slide 20 of 30
  • 21. Working with ADO.NET Just a Minute… What are the different methods of creating a data adapter? ©NIIT Working with ADO.NET/Lesson 5/Slide 21 of 30
  • 22. Working with ADO.NET Task 3: Identify the type of dataset to be created. Datasets are of two types: Typed Untyped Typed dataset Is derived from the DataSet class and has an associated XML schema, which is created at the time of the creation of the dataset. Can be customized after creation. Supports Intellisense and auto‑completion for the elements of the syntax while writing code. ©NIIT Working with ADO.NET/Lesson 5/Slide 22 of 30
  • 23. Working with ADO.NET Task 3: Identify the type of dataset to be created. (Contd.) Untyped dataset Does not have any associated XML schema, therefore, the structure of an untyped dataset is not known at the compile time. Represents tables and columns as collections. Does not support Intellisense and auto‑completion for the elements of the syntax. Result: Since the structure of the data is known at compile time, you will create a typed dataset for the given problem statement. ©NIIT Working with ADO.NET/Lesson 5/Slide 23 of 30
  • 24. Working with ADO.NET Just a Minute… What is the difference between typed and untyped dataset? ©NIIT Working with ADO.NET/Lesson 5/Slide 24 of 30
  • 25. Working with ADO.NET Task 4: Create a data adapter. Task 5: Create a dataset. Task 6: Preview the database records. ©NIIT Working with ADO.NET/Lesson 5/Slide 25 of 30
  • 26. Working with ADO.NET Problem Statement 5.P.1 An application needs to be created that allows the Diaz Telecommunications Sales Manager to preview the customer order details from the database. In addition, for each order, percentage of the cost of a product given as advance needs to be previewed. ©NIIT Working with ADO.NET/Lesson 5/Slide 26 of 30
  • 27. Working with ADO.NET Summary In this lesson, you learned that: ADO.NET is a data access programming model for accessing the data stored in a database from a .NET application. ADO.NET has the following features: A disconnected data architecture Data cached in datasets The use of XML format for data transfer Database operations done through data commands ©NIIT Working with ADO.NET/Lesson 5/Slide 27 of 30
  • 28. Working with ADO.NET Summary (Contd.) ADO.NET consists of the following components: Data Provider — Used for connecting to a database, retrieving data, storing the data in a dataset, and updating the database. Data Adapter — A data adapter is integral to the working of the ADO.NET model since data transfer to and from the database is done through a data adapter. Dataset — A dataset is a disconnected cached set of records that are retrieved from the database. A data adapter communicates with a database through data commands. These data commands use parameters for execution. ©NIIT Working with ADO.NET/Lesson 5/Slide 28 of 30
  • 29. Working with ADO.NET Summary (Contd.) After a dataset has been created, a data adapter uses the process of table mapping to map the columns in the database table with the dataset columns. A data adapter can be created by using any of the following methods: Manually Through a wizard By using Server Explorer ©NIIT Working with ADO.NET/Lesson 5/Slide 29 of 30
  • 30. Working with ADO.NET Summary (Contd.) Datasets are of two types: Typed datasets – A typed dataset is derived from the DataSet class and has an associated schema. Untyped datasets – An untyped dataset does not have any associated XML schema. The tables and columns in an untyped dataset are represented as collections. ©NIIT Working with ADO.NET/Lesson 5/Slide 30 of 30