English French German Italian Portuguese Russian Spanish

logo_old

  • Microsoft Training

    microsoftInterSource offers courses on all practically all Microsoft products and technologies:

    Operating Systems: XP, Vista, Server Server2003, Server 2008 IIS, SQL Server

    Development Tools & Environments: ASP, ASP.NET, C#, .NET, VBA, Visual Basic

    Applications: Dynamics, Expression, Access, Excel, Word PowerPoint, Exchange, InfoPath, Outlook, SharePoint , Project, Publisher, Business Intelligence

    Please refer to our detailed course outlines below.

  • About Microsoft

    Microsoft has had an impact on, and indeed defined the computing world like no other company. The development tools, operating systems and applications produced by Microsoft have achieved near-ubiquity in the desktop computer market. The original mission set by Microsoft's founder was to have "a computer on every desk and in every home, running Microsoft software". About 90% of computer users worldwide run Microsoft products, hence this objective has largely been met. For operating systems, Web client statistics suggest that Microsoft Windows has about a 92% share, Apple Mac OS 6% and Linux, 1%.

    Read More

  • Course Details Microsoft

    Classes are offered at client sites, at our Geneva training center, and via a live web conference. For detailed course outlines and scheduled classes, please see below.

    To book training, navigate to the course you need, then:

    • For scheduled online classes, register from the choices indicated.
    • If you need an alternative date, time or location, or if you want a live classroom course, click on “request an offer for this course,” to complete the form.

ADO.NET for Web Applications Using C#

 PDF PrintEmail

Course duration

  • 3 Days

Course Outline

This three-day intensive ADO.NET for Web Applications Using C# training class teaches the essential elements of ADO.NET such that at the end of the course the programmer is able to utilize its tremendous database manipulation powers to build effective database applications. The course includes a major case study demonstrating the use of ADO.NET in a realistic setting. It is current to .NET 4.6, Visual Studio 2015 and SQL Server 2014.

The course opens with an overview of ADO.NET and its relation to previous Microsoft data access technologies. It includes a discussion of ADO.NET architecture, main interfaces and classes, and programming with both the connected and disconnected models. The database for the case study is introduced.

The next two chapters cover in detail Connection and Command objects, which are essential in both connected and disconnected database access scenarios. The following chapter covers DataReaders, which provide a fast, forward-only reading capability. Programming with DataReaders bears a close resemblance to programming with the vintage recordset object.

Then the course focuses on the backbone of ADO.NET: DataSet and its related classes, such as DataAdapter, DataTable, DataRow, DataColumn, DataRelation, TableMappings and ColumnMappings. DataSet is able to handle multiple tables while remaining disconnected. It is eminently suited for building highly scalable applications for the Web. The close relationship between ADO.NET and XML is covered in detail. Transactions and concurrency are covered.

  • Learn to understand the architecture and main classes of ADO.NET.
  • Learn to gain fluency in programming ADO.NET using C#.
  • Learn to gain a thorough understanding of the use of disconnected DataSets for building highly scalable applications.
  • Learn to acquire a working knowledge of the tight coupling of XML with ADO.NET.
  • Learn to learn how to use additional features in ADO.NET, including asynchronous operations, multiple active result sets, and bulk copy.
  • Learn to acquire a working knowledge of LINQ and the Entity Framework.
  • Learn to implement a realistic case study that ties together many concepts of ADO.NET in a practical demonstration.
  • Basic knowledge of SQL and of programming the .NET Framework using C#.
  • Understanding of the fundamentals of XML.
  • Ability to write simple Windows Forms applications.
  • A working knowledge of SQL Server is also desirable.
  1. Introduction to ADO.NET
    1. Microsoft Data Access Technologies
    2. From ADO to ADO.NET
    3. ADO.NET Architecture
    4. Namespaces and Classes
    5. Interfaces
    6. DataSets and Disconnected Access
    7. First ADO.NET Programs
    8. Acme Computer Case Study
  2. ADO.NET Connections
    1. .NET Data Providers
    2. IDbConnection
    3. Connection Classes
    4. Connection Strings
    5. Connection Pooling
    6. Connection Events
    7. Error Handling
  3. ADO.NET Commands
    1. IDbCommand
    2. Command Objects
    3. Creating Commands
    4. Executing Commands
    5. Parameterized Queries
    6. Command Types
    7. Using Stored Procedures
    8. Batch Queries
  4. DataReaders and Connected Access
    1. DataReaders
    2. IDataReader
    3. IDataRecord
    4. Type-Safe Accessors
    5. Null Columns
    6. ExecuteReader Options
    7. Multiple Result Sets
    8. Obtaining Schema Information
  5. Data Sets and Disconnected Access
    1. DataSet
    2. DataAdapter
    3. Command Objects
    4. DataTable
    5. DataColumn
    6. DataRow
    7. Row States and Versions
    8. Accept or Reject Changes
    9. DataTable Events
    10. Updating a Database from a DataSet
    11. Command Builders
  6. More About DataSets
    1. Filtering DataTables
    2. Multiple Table DataSets
    3. Schema
    4. Constraints
    5. Relations
    6. Navigating a DataSet
    7. DataMapping
    8. Creating a DataSet Programmatically
  7. XML and ADO.NET
    1. Strong Coupling Between ADO.NET and XML
    2. Rendering XML from a DataSet
    3. Controlling XML Output
    4. Reading XML into a DataSet
    5. XML Schema and DataSets
    6. Typed DataSets
    7. Table Adapters
    8. Synchronizing DataSets and XML
    9. XML Serialization
  8. Concurrency and Transactions
    1. DataSets and Concurrency
    2. Optimistic Concurrency
    3. Pessimistic Concurrency
    4. Handling Concurrency Violations
    5. ADO.NET Transactions
    6. Database Transactions
  9. Additional Features
    1. Asynchronous Database Operations
    2. Multiple Active Result Sets
    3. Bulk Copy
  10. LINQ and Entity Framework
    1. Language Integrated Query (LINQ)
    2. Bridging Objects and Data
    3. Using Object Relational Designer
    4. Filtering, Ordering and Aggregation
    5. Inserts, Deletes and Updates
    6. LINQ to SQL
    7. LINQ to DataSet
    8. ADO.NET Entity Framework
    9. LINQ to Entities

InterSource Geneva, a premier Information Technology training firm, offers over 400 different courses on server, database and programming technologies, as well as end-user classes for the most popular office, graphics and design applications. We serve clients in Switzerland (Geneva, Lausanne, Bern, Basel, Zurich) and throughout Europe (France, Germany, Austria, Finland, Sweden, England, Netherlands, Spain, etc.).


InterSource offers custom, private courses at client sites, standard public courses in our Geneva classroom, and online training via live Web conference. Training is offered in English and many other languages (Francais, Deutsch, Espanol, Italiano.)


For an overall view of our offerings, please visit us at www.intersource.ch.