
Visual Basic .NET Code Sample: Data Access - Data Entry Form
Brief Description
This sample demonstrates how to create a data entry form to add, update and delete records from a single table. ADO.NET is used to insert, update and delete records from the Products table in the Northwind database.
On This Page
Quick Details
| File Name: | DataAccessDataEntryForm.exe |
| Version: | 1.0 |
| Date Published: | 7/29/2002 |
| Language: | English |
| Download Size: | 227 KB |
| Estimated Download Time: | 1 min 56K |
Overview
This sample demonstrates how to create a data entry form to add, update and delete records from a single table. ADO.NET is used to insert, update and delete records from the Products table in the Northwind database. A ListItem class has been created to store a value and a primary key associated with that value to be used in the combo boxes on the form.
Top of page
System Requirements
- Supported Operating Systems: Windows 2000; Windows NT; Windows XP
- Microsoft Visual Studio. NET Professional
- Access to the Northwind database residing in SQL Server or the Microsoft Data Engine (MSDE)
Top of page
Instructions
- Select "Run this Program from its Current Location" to start the download immediately.
- Select "Save this Program to Disk" to copy the download to your machine for installation at a later time.
To install MSDE, do the following:
- Open the 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 \Samples\Setup. This is typically: C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Samples\Setup
- Type: osql -E -S (local)\NetSDK -i InstNwnd.sql
Top of page
What Others Are Downloading
Top of page