Programming with ADO .NET

Course

In London and Bath

£ 1,050 + VAT

Description

  • Duration

    3 Days

At the end of 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; 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. Suitable for: This course is designed for the professional platform developer and will teach developers to build data-centric, applications and Web Services with ADO .NET, SQL Server 2000 and the Microsoft .NET Framework

Facilities

Location

Start date

Bath (Somerset)
3 Kelso Place, Upper Bristol Road, BA1 3AU

Start date

On request
London
See map
Valiant House, 4-10 Heneage Lane, EC3A 5DQ

Start date

On request

About this course

Before attending this course, students must have the following pre-requisites:Understanding of relational database concepts: table, row, column, primary keys, foreign keys, constraints, and viewsData query and modification experience, including experience with SELECT, INSERT, UPDATE, and DELETE commandsExposure to XML documents, style sheets, and schemasExperience with Visual Basic...

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Reviews

Course programme

Target Audience
This course is designed for the professional platform developer and will teach developers to build data-centric, applications and Web Services with ADO .NET, SQL Server 2000 and the Microsoft .NET Framework

Pre-Requisites
Before attending this course, students must have the following pre-requisites:Understanding of relational database concepts: table, row, column, primary keys, foreign keys, constraints, and viewsData query and modification experience, including experience with SELECT, INSERT, UPDATE, and DELETE commandsExposure to XML documents, style sheets, and schemasExperience with Visual Basic .NET, Visual Basic for Applications, or previous versions of Visual BasicExperience building user interfaces, including Web applications or Microsoft Windows applications

Purpose
At the end of 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; 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.

Course outline
  1. Data-Centric Applications and ADO.NET
  2. Connecting to Data Sources
  3. Performing Connected Database Operations
  4. Building DataSets
  5. Reading and Writing XML with ADO.NET
  6. Building DataSets from Existing Data Sources
  7. Building and Consuming a Web Service That Uses ADO.NET
Module 1:Data-Centric Applications and ADO.NET
  • Design of Data-Centric Applications
  • ADO.NET Architecture
  • ADO.NET and XML
  • Lab: Data-Centric Applications and ADO.NET
  • Give examples of storage options.
  • Diagram the architecture of data-centric applications.
  • Choose a connected, disconnected, or mixed environment based on application requirements.
  • Use the System.Data namespaces in applications.
  • Diagram the ADO.NET object model.
  • Analyze typical business scenarios.
  • Explain how to use ADO.NET with XML.
Module 2:Connecting to Data Sources
  • Choosing a .NET Data Provider
  • Defining a Connection
  • Managing a Connection
  • Handling Connection Exceptions
  • Connection Pooling
  • Lab: Connecting to Data Sources
  • Choose a .NET data provider.
  • Connect to SQL Server.
  • Connect to OLE DB data sources.
  • Manage a connection.
  • Handle common connection exceptions.
  • Implement and control connection pooling.
Module 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
  • Lab: Performing Connected Database Operations
  • Build a command object.
  • Execute a command that returns a single value.
  • Execute a command that returns a set of rows, and process the result.
  • Execute a command that defines database structure and permissions by using the data definition language (DDL) and data control language (DCL).
  • Execute a command that modifies data.
  • Use transactions.
Module 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
  • Lab: Building, Binding, Opening, and Saving DataSets
  • Lab: Manipulating DataSets.
  • Describe the disconnected environment.
  • Build a DataSet and a DataTable.
  • Bind a DataSet to a DataGrid.
  • Open and save a DataSet.
  • Define a data relationship.
  • Modify data in a DataTable.
  • Find and select rows in a DataTable.
  • Sort and filter a DataTable by using a DataView.
Module 5:Reading and Writing XML with ADO.NET
  • Creating XSD Schemas
  • Loading Schemas and Data into DataSets
  • Writing XML from a DataSet
  • Lab: Working with XML Data in ADO.NET
  • Generate an XSD schema from a DataSet by using graphical tools.
  • Save a DataSet structure to an XSD schema file.
  • Create and populate a DataSet from an XSD schema and XML data.
  • Save DataSet data as XML.
  • Write and load changes by using a DiffGram.
Module 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
  • Lab: Retrieving Data into a Disconnected Application
  • Lab: Retrieving and Updating Customers and Orders Data
  • Configure a DataAdapter to retrieve information.
  • Populate a DataSet by using a DataAdapter.
  • Configure a DataAdapter to modify information.
  • Persist data changes to a data source.
  • Manage data conflicts.
Module 7:Building and Consuming a Web Service That Uses ADO.NET
  • Building and Consuming a Web Service That Returns Data
  • Lab: Troubleshooting an ADO.NET Application.
  • Build a Web service.
  • Consume a Web service in a client application.
  • Troubleshoot errors in an ADO.NET application.

Programming with ADO .NET

£ 1,050 + VAT