Notes - Lesson 11a
Notes - Lesson 11a
Objectives
What will you learn
What is ADO .Net What are .Net Data Providers How to connect to a database using a wizard How to retrieve data from a database using a wizard
Introduction
ADO.NET provides access to data sources such as Microsoft SQL Server, as well as data sources exposed through OLE DB Applications can use ADO.NET to connect to these data sources and retrieve, manipulate, and update data
Introduction
ADO .NET Namespaces System.Data - The root namespace for the ADO .NET API System.Data.OleDb - It contains classes that are designed to work with any data source System.Data.SqlClient - Contains classes that are optimized to work with Microsoft SQL Server databases
10
11
12
13
14
15
16
17
18
19
20
21
22
26
27
28
29
30
10
31
32
33
11
34
35
36
12
The <person> is the Table Name Attributes like <lname> and <fname> are the Table columns
37
38
39
13
40
42
14
43
44
45
15
46
16