A Visual Studio .NET Database Testbed

In the main part of this chapter, we write programs to access databases. We work primarily with SQL Server, but we will also illustrate an Access database, and we will see how easy it is to write programs that access different data sources in a consistent manner. An Access database is self-contained in an .mdb file. Our sample Access database is AcmeCustomer.mdb in the Databases folder in the chapter directory. A script, AcmeCustomer.sql, is provided for creating a SQL Server database AcmeCustomer. This script is run as part of the database setup discussed earlier in the chapter. To gain practice in working ...

Get Application Development Using Visual Basic® and .NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.