Data Access: Using ADO 2.6 from .NET
Show how to use ADO 2.6
Featured Highlights:
-
How to use the connection object
-
How to use command object
-
How to use the recordset object
-
How to perform record navigation
-
How to do an update and insert
-
How to use ADO and ADO.NET together
Requirements:
Requires the release version of Visual Studio .NET Professional ( or greater)
and access to the Northwind databse residing in SQL Server or the Microsoft
Data Engine (MSDE). To install MSDE, do the following:
-
Open Start Menu, then click Programs, then click Microsoft.NET Framework SDK,
and then click samples and Quickstart Tutorials.
-
Click "Step 1: Install the .NET framework Samples Database".
-
Open a command window, and CD to FrameworkSDK\Samples\Setup This is usually:
C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Samples\Setup
-
Type: osql -E -S (local)\VSdotNET -i InstNwnd.sql
Running the Sample:
Simply press F5.
See Also
COM
Interop
Exposing COM Components