Microsoft

Core Data Access with Microsoft Visual Studio 2005 (M2541)

Virtual Classroom e-Learning
Virtual Classroom e-Learning
Also available via

Who Needs to Attend

Corporate and Independent Software Vendor (ISV) application developers who want to learn more about specific technology areas in distributed application development

 

Prerequisites

  • 6071: Developing Microsoft ASP.NET Web Applications Using Visual Studio .NET
  • Ability to manage a solution environment using the Visual Studio 2005 integrated development environment IDE and tools
  • Understanding of the .NET Framework 2.0 and the Common Language Runtime
  • Ability to program an application using a .NET Framework 2.0 compliant language
  • Ability to make assemblies available to other applications
  • A good understanding of basic relational database concepts
  • Ability to use basic SQL commands
  • A good understanding of XML including XML declaration, elements, attributes, and namespaces
  • Ability to explain XML schema concepts

 

Follow-On Courses

 

 

Learning Paths

This course is part of the following job roles:

Learn how to develop using XML and ADO.NET.

Gain the knowledge and skills to develop data-access applications by using the Microsoft .NET Framework and Microsoft Visual Studio 2005 in this three-day instructor-led workshop. You will learn how to access and update data in a database by using ADO.NET, and you will learn to create, read, and write XML data.

This course incorporates material from the Official Microsoft Learning Product 2541: Core Data Access with Microsoft Visual Studio 2005.

Certification:

This course will help you prepare for the following certifications:

  • MCTS: .NET Framework 2.0 Windows Applications
  • MCPD: Windows Developer on Visual Studio 2005
  • MCPD: Enterprise Applications Developer on Visual Studio 2005

What You'll Learn

 

  • Connect to databases and read data
  • Query and update databases by using commands
  • Perform transactional operations
  • Perform disconnected operations programmatically
  • Perform disconnected operations by using Visual Studio 2005 wizards
  • Perform XML operations on disconnected data
  • Read and write XML data
  • Process XML data by using the Document Object Model DOM

Course Outline

 

1. Connecting to Databases and Reading Data

  • ADO.NET
  • Connecting to a Database and Reading Data
  • Connection Pooling

2. Querying and Updating Databases by Using Commands

  • ADO.NET Commands
  • Passing Parameters into Commands

3. Performing Transactional Operations

  • What a Transaction Is
  • Managing Local Transactions
  • Managing Distributed Transactions
  • Isolation Levels

4. Performing Disconnected Operations Programmatically

  • The ADO.NET Disconnected Model
  • Loading and Saving Data in a DataSet
  • DataViews

5. Performing Disconnected Operations by Using Visual Studio 2005 Wizards

  • Comparing Untyped DataSets with Typed DataSets
  • Table Adapters
  • Demonstration: Creating a Typed DataSet by Using Visual Studio 2005 Wizards

6. Performing XML Operations on Disconnected Data

  • XML Representations of DataSets
  • DiffGrams

7. Reading and Writing XML Data

  • Serially Reading XML Data
  • Serially Writing XML Data

8. Processing XML Data by Using DOM

  • What DOM Is
  • DOM Trees
  • Types of XML Nodes in a DOM Tree

Labs

 

Lab 1: Connecting to Databases and Reading Data

  • Connecting to a Database
  • Saving a Connection String Securely in an Application Configuration File
  • Retrieving Data from a Database
  • Handling Connection Events and Exceptions
  • Configuring and Using Connection Pooling

Lab 2: Querying and Updating Databases by Using Commands

  • Creating and Running Query Commands
  • Creating and Running Parameterized Commands
  • Creating and Running Update Commands
  • Using Globalized Formats for Storing and Accessing Data

Lab 3: Performing Transactional Operations

  • Performing Data Updates within a Transaction
  • Choosing an Appropriate Isolation Level for a Transaction
  • Enlisting in a Distributed Transaction
  • Managing Transactions in the Data Tier

Lab 4: Performing Disconnected Operations Programmatically

  • Creating a DataSet Programmatically
  • Populating and Saving a DataSet
  • Adding, Modifying, and Deleting Data in a DataSet
  • Merging DataSets
  • Creating and Using DataViews

Lab 5: Performing Disconnected Operations by Using Visual Studio 2005 Wizards

  • Creating a Typed DataSet by Using the DataSet Designer
  • Loading, Displaying, and Saving Data in a Typed DataSet
  • Adding Code to a Typed DataSet
  • Creating a Typed DataSet by Using the Data Source Configuration Wizard
  • Adding Queries to a Table Adapter

Lab 6: Performing XML Operations on Disconnected Data

  • Saving a DataSet as XML Data
  • Loading a DataSet from XML
  • Saving and Loading DataSet Schema Information

Lab 7: Reading and Writing XML Data

  • Writing XML Data by Using XmlWriter
  • Reading XML Data by Using XmlReader

Lab 8: Processing XML Data by Using DOM

  • Reading XML Data by Using DOM
  • Writing XML Data by Using DOM

Virtual Classroom e-Learning Classroom Dates

DateClick to Sort TimesClick to Sort  
Oct 4 - 6, 201011:30 AM - 7:30 PM ET Register

 

Don’t see the location or date you need? No problem – just use our Request a date & location service.

Course Code: 6197

Registration Information

 

$1795 USD

3 Day Course

Microsoft Course: M2541

Eligible for SATV Purchase

3 Day SATV Voucher

3 Day SATV Voucher

 

Buy this course

 

Quote this course

 

Request a date & location

Bring this course On-Site

 

Alert Me Alert Me

 

Resources

PDF of this course