Documente Academic
Documente Profesional
Documente Cultură
Chng: 15
ADO.NET Fundamentals
1 Lp trnh Web
Ni dung
Understanding Data Management
Lp trnh Web
Lp trnh Web
Lp trnh Web
(and 2008), and its found in a directory like c:\Program Files\Microsoft SQL Server\90\Tools\Binn
To see all the possible parameters, type this command:
sqlcmd -?
Lp trnh Web
Lp trnh Web
Lp trnh Web
SQL Basics
Running Queries in Visual Studio
Lp trnh Web
ADO.NET Basics
Data Namespaces
Lp trnh Web
Data Namespaces
Namespace System.Data Purpose Contains fundamental classes with the core ADO.NET functionality. This includes DataSet and DataRelation, Not used directly in your code. These classes are used by other data provider classes that inherit from them and provide versions customized for a specific data source. Contains the classes you use to connect to an OLE DB data source and execute commands,
Lp trnh Web
System.Data.Common
System.Data.OleDb
10
Data Namespaces
Namespace System.Data.SqlClient Purpose Contains the classes you use to connect to a Microsoft SQL Server database (version 7.0 or later) and execute commands. Contains structures for SQL Serverspecific data types such as SqlMoney and SqlDateTime. Contains the classes you use to connect to a data source through an ODBC driver and execute commands
Lp trnh Web
System.Data.SqlTypes
System.Data.Odbc
11
Connection
SqlConnection
OdbcConnecti on
Lp trnh Web
12
13
Lp trnh Web
Lab
To trang qun l thng tin Nhn vin ( xem, thm, xa,
sa)
Lp trnh Web
14
15
Lp trnh Web
Lp trnh Web
16
Lp trnh Web
17
Lp trnh Web
18
Defining Relationships
Lp trnh Web
19
Lab
To trang xem thng tin phn quyn nhn vin.
Lp trnh Web
20