Data Access: Typed Datasets
Shows the difference in an untyped dataset and a typed dataset when doing
inserts, updates, deletes, and queries. A typed dataset give the
programmer the ability to reference tables and fields using intellisence at
design time. This allows you to find errors at design time instead
of run time.
Featured Highlights:
-
Contrast Insert with a Typed Dataset with an Untyped Dataset
-
Contrast Update with a Typed Dataset with an Untyped Dataset
-
Contrast Delete with a Typed Dataset with an Untyped Dataset
-
Contrast Querying with a Typed Dataset with an Untyped Dataset
-
Applying changes to the datasets back to the underlying tables in the database
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