A basic knowledge of SQL and of programming the .NET Framework using C#. The student should also understand the fundamentals of XML. To get full benefit from the case studies in the course the student should be able to write simple Windows Forms applications. A working knowledge of SQL Server is also desirable.
.NET Training Course duration
3 days
.NET Training Course outline
1. Introduction to ADO.NET
|
|
Microsoft Data Access Technologies
From ADO to ADO.NET
ADO.NET Architecture
Namespaces and Classes
Interfaces
DataSets and Disconnected Access
First ADO.NET Programs
Acme Computer Case Study
|
2. ADO.NET Connections
|
|
.NET Data Providers
IDbConnection
Connection Classes
Connection Strings
Connection Pooling
Connection Events
Error Handling
|
3. ADO.NET Commands
|
|
IDbCommand
Command Objects
Creating Commands
Executing Commands
Parameterized Queries
Command Types
Using Stored Procedures
Batch Queries
|
4. DataReaders and Connected Access
|
|
DataReaders
IDataReader
IDataRecord
Type-Safe Accessors
Null Columns
ExecuteReader Options
Multiple Result Sets
Obtaining Schema Information
|
5. Data Sets and Disconnected Access
|
|
DataSet
DataAdapter
Command Objects
DataTable
DataColumn
DataRow
Row States and Versions
Accept or Reject Changes
DataTable Events
Updating a Database from a DataSet
Command Builders
|
6. More About DataSets
|
|
Filtering DataTables
Multiple Table DataSets
Schema
Constraints
Relations
Navigating a DataSet
DataMapping
Creating a DataSet Programmatically
|
7. XML and ADO.NET
|
|
Strong Coupling Between ADO.NET and XML
Rendering XML from a DataSet
Controlling XML Output
Reading XML into a DataSet
XML Schema and DataSets
Typed DataSets
Table Adapters
Synchronizing DataSets and XML
XML Serialization
|
8. Data Binding
|
|
Data Binding in Windows Forms
Simple Data Binding
Complex Data Binding
DataGrid Binding
DataView
Filtering and Sorting
Data Binding in .NET 2.0
|
9. Concurrency and Transactions
|
|
DataSets and Concurrency
Optimistic Concurrency
Pessimistic Concurrency
Handling Concurrency Violations
ADO.NET Transactions
Database Transactions
|
10. New Features in ADO.NET 2.0
|
|
Asynchronous Database Operations
Server Enumeration
Multiple Active Result Sets
Bulk Copy in ADO.NET
|
Appendix A. Acme Computer Case Study
Appendix B. Learning Resources
|
System Requirements
The following software is required:
- Windows XP Professional with Service Pack 2
- Visual Studio 2005 or Visual C# 2005 Express Edition
- SQL Server 2005 Express Edition, a free download
A good minimal hardware profile for this course would have a Pentium 500-MHz or equivalent CPU, 256 MB of RAM, and at least 4 GB of free disk space for tools installation and courseware.