Making Connections


Before you can do anything useful with a database, you need to establish a session with the database server. You do this with an object called a connection, which is an instance of a class that implements the System.Data.IDbConnection interface for a specific data provider. In this chapter, you’ll use various data providers to establish connections and look at problems that may arise and how to solve them.




Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Vidya Vrat Agarwal, James Huddleston, Ranga Raghuram, Syed Fahad Gilani, Jacob Hammer Pedersen, and Jon Reid 2008

Personalised recommendations