My Account
View Cart
Home
Community
Books & Videos
Safari Books Online
Conferences
Training
School of Technology
About
Complete List
Bestsellers
New Releases
Rough Cuts
Upcoming Titles
Ebooks
By Publisher
By Series
Out of Print
Order Info
Search
Search Tips
Tell a friend
ADO.NET in a Nutshell
By
Bill Hamilton
,
Matthew MacDonald
April 2003
Pages: 620
|
Table of Contents
|
Index
|
Sample Chapter
|
Colophon
Table of Contents
ADO.NET Tutorial
Chapter 1
Introduction
ADO.NET Data Providers
Connected and Disconnected Data
Chapter 2
.NET Data Providers
Data Providers
Selecting a Data Provider
Creating a Custom Data Provider
Chapter 3
Connections
Connection Object Overview
The Connection String
Opening and Closing Connections
Connection Pooling
Chapter 4
Commands
Command Object Overview
Creating and Executing a Command
Parameter Object Overview
Parameterized Commands
Commands with Stored Procedures
Commands and Data Definition Language (DDL)
Chapter 5
DataReaders
DataReader Object Overview
Performing a Query with a DataReader
Stored Procedures with the DataReader
DataReaders and Schema Information
Chapter 6
DataSets
Creating an Untyped DataSet
Working with Tables in the DataSet
Adding and Removing Relations
Adding Custom Information
Cloning the Schema
Copying the DataSet
Merging Two DataSets
Removing All Data
Resetting the DataSet
Committing and Discarding Changes
Chapter 7
DataTables
Creating a DataTable
Working with Columns
Constraints
Primary Key
Rows
Loading Data
Committing and Discarding Changes
Cloning the Schema of the Table
Copying the Table
Selecting a Subset of Rows
Performing Aggregate Calculations
Removing All Data
Resetting the Table
Identifying Errors in the Table
DataTable Events
Chapter 8
DataColumns
Creating DataColumns
Creating AutoIncrement Columns
Creating Expression Columns
Handling Null Values
Mapping .NET Data Provider Types to .NET Framework Types
Chapter 9
DataRows
Creating a DataRow
Updating Rows
Deleting Rows
Using Row State Information
Using Row Version Information
Accepting or Rejecting Changes to Rows
Navigating Parent and Child Rows
Using Row Error Information
Chapter 10
Constraints
Constraint Object Overview
The UniqueConstraint
The ForeignKeyConstraint
Chapter 11
DataRelations
DataRelation Object Overview
Navigating Relational Data
Chapter 12
DataViews and Data Binding
The DataView and DataViewManager
Sorting and Filtering
Accessing Data Through a DataView
Windows Data Binding
ASP.NET Data Binding
Chapter 13
Strongly Typed DataSets
Creating a Strongly Typed DataSet
Adding a Row
Editing a Row
Finding a Row
Null Data
Navigating Hierarchical Data
Annotations
Chapter 14
DataAdapters
Creating DataAdapter Object
Retrieving Data from the Data Source
Retrieving Schema Information from the Data Source
Updating the Data Source
Mapping Tables and Columns
AcceptChangesDuringFill
ContinueUpdateOnError
DataAdapter Events
Chapter 15
Updating the Data Source
SqlCommandBuilder Class Overview
Updating a Data Source Using Command Builder
Updating a Data Source Using Custom Logic
Refreshing Data After Updating
Retrieving Updated Values from the Data Source
Updating Data in Related Tables
Handling Concurrency Issues
Optimization
Chapter 16
Transactions
Manual Transactions
Isolation Levels
Savepoints
Nested Transactions
Transactions Using a DataAdapter
Automatic Transactions
Chapter 17
XML and the DataSet
DataSet XML Methods
Shaping DataSet XML
Other .NET XML Classes
XmlDataDocument Object Overview
Using the Data Objects to Edit XML
SQL Server 2000 XML
ADO.NET Core Classes
Chapter 18
The Connection Class
Comments/Troubleshooting
Properties Reference
Methods Reference
Events Reference
Chapter 19
The Command Class
Comments/Troubleshooting
Properties Reference
Collections Reference
Methods Reference
Chapter 20
The Parameter Class
Comments/Troubleshooting
Properties Reference
Chapter 21
The DataReader Class
Comments/Troubleshooting
Properties Reference
Methods Reference
Chapter 22
The DataSet Class
Comments/Troubleshooting
Properties Reference
Collections Reference
Methods Reference
Events Reference
Chapter 23
The DataTable Class
Comments/Troubleshooting
Properties Reference
Collections Reference
Methods Reference
Events Reference
Chapter 24
The DataColumn Class
Comments/Troubleshooting
Properties Reference
Collections Reference
Chapter 25
The DataRow Class
Comments/Troubleshooting
Properties Reference
Collections Reference
Methods Reference
Chapter 26
The Constraint Class
Comments/Troubleshooting
Properties Reference
Collections Reference
Chapter 27
The DataRelation Class
Comments/Troubleshooting
Properties Reference
Collections Reference
Chapter 28
The DataView Class
Comments/Troubleshooting
Properties Reference
Methods Reference
Events Reference
Chapter 29
The DataAdapter Class
Comments/Troubleshooting
Properties Reference
Collections Reference
Methods Reference
Events Reference
Chapter 30
The CommandBuilder Class
Comments/Troubleshooting
Properties Reference
Methods Reference
Chapter 31
The Transaction Class
Comments/Troubleshooting
Properties Reference
Methods Reference
API Quick Reference
Chapter 32
How to Use This Quick Reference
Finding a Quick-Reference Entry
Reading a Quick-Reference Entry
Chapter 33
Converting from C# to VB Syntax
General Considerations
Classes
Structures
Interfaces
Class, Structure, and Interface Members
Delegates
Enumerations
Chapter 34
The System.Data Namespace
Chapter 35
The System.Data.Common Namespace
Chapter 36
The System.Data.SqlClient Namespace
Chapter 37
The System.Data.OleDb Namespace
Chapter 38
The System.Data.SqlTypes Namespace
Appendixes
Appendix A
ADO.NET Providers
The SQL Server Provider
The OLE DB Provider
The ODBC .NET Provider
The Oracle .NET Provider
The ODP.NET Provider
Appendix B
ADO.NET XML Extensions
codegen Namespace
msdata Namespace
diffgr Namespace
Appendix C
Microsoft Data Engine (MSDE)
Installing MSDE
MSDE Essentials
Adding the Northwind Data
Migrating MSDE to SQL Server
Colophon
Return to
ADO.NET in a Nutshell