Programming with ADO.NET

3 Days

Description

This course will teach developers to build data-centric applications and Web services with Microsoft ADO.NET, Microsoft SQL Server 2000, and the Microsoft .NET Framework. 

This course is designed for the professional platform developer who is responsible for designing and building data-centric, distributed applications for his or her organization. It is designed for developers who have component and Web application development skills, and who have previously built solutions by using Microsoft Visual Studio®.

Typically, these individuals will have the following skills: Experience with a .NET language such as Microsoft Visual Basic® .NET, Microsoft Visual C#, or Microsoft Visual C++®; an understanding of object-oriented concepts and terminology; experience developing distributed applications; and experience developing Web-based applications hosted on Internet Information Server.

After completing the course, students will be able to:

  • Describe data-centric applications, ADO.NET architecture, and ADO.NET and XML.
  • Connect to SQL Server and other data sources.
  • Perform connected database operations including executing SELECT commands, database definition commands, dynamic SQL commands, and commands that return data from a SQL Server database in XML.
  • Build a DataSet schema, populate it with data, and modify the data programmatically.
  • Build a DataSet from an existing data source.
  • Use XML techniques while working with DataSets, including mapping tables and columns, creating XSD schemas, building strongly typed DataSets, and interacting with XMLDataDocuments.
  • Build a Web service that uses ADO.NET to query and update a data source.
  • Troubleshoot errors within an ADO.NET application.

 

No Upcoming Public Classes

There are currently no public events available for this course. However, you can submit a request for a new date and we will try our best to get you into a Programming with ADO.NET class.

Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date

Course Overview

Lesson 1: Data-Centric Applications and ADO.NET

  • Design of Data-Centric Applications
  • ADO.NET Architecture
  • ADO.NET and XML

Lesson 2: Connecting to Data Sources

  • Choosing a .NET Data Provider 
  • Defining a Connection
  • Managing a Connection
  • Handling Coonection Exceptions
  • Connection Pooling

Lesson 3: Performing Connected Database Operations  

  • Working in a Connected Environment
  • Building Command Objects
  • Executing Commands That Return a Single Value
  • Executing Commands That Return Rows
  • Executing Commands That Do Not Return Rows
  • Using Transactions

Lesson 4: Building DataSets

  • Working in a Disconnected Environment
  • Building DataSets and DataTables
  • Binding and Saving a DataSet
  • Defining Data Relationships
  • Modifying Data in a DataTable
  • Sorting and Filtering

Lesson 5: Reading and Writing XML with ADO.NET

  • Creating XSD Schemas
  • Loading Schemas and Data into DataSets
  • Writing XML from a DataSet

Lesson 6: Building DataSets from Existing Data Sources

  • Configuring a DataAdapter to Retrieve Information
  • Populating a DataSet Using a DataAdapter
  • Configuring a DataAdapter to Update the Underlying Data Source
  • Persisting Changes to a Data Source
  • How to Handle Conflicts

Lesson 7: Building and Consuming a Web Service That Uses ADO.NET

  • Building and Consuming a Web Service That Returns Data

No Upcoming Public Classes

There are currently no public events available for this course. However, you can submit a request for a new date and we will try our best to get you into a Programming with ADO.NET class.

Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date

Prerequisites

The course assumes that students have the following skills:

  • Understanding of relational database concepts: table, row, column, primary keys, foreign keys, constraints, and views
  • Data query and modification experience, including experience with SELECT, INSERT, UPDATE, and DELETE commands
  • Exposure to XML documents, style sheets, and schemas
  • Experience with Visual Basic .NET, Visual Basic for Applications, or previous versions of Visual Basic
  • Experience building user interfaces, including Web applications or Microsoft Windows® applications

No Upcoming Public Classes

There are currently no public events available for this course. However, you can submit a request for a new date and we will try our best to get you into a Programming with ADO.NET class.

Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date