O'Reilly logo

Sams Teach Yourself ADO.NET in 24 Hours by Paul Bertucci, Jason Lefebvre

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating Your Own Assembly

To create a new assembly in your application, perform the following steps:

1.
In your Web project directory, create a new directory called components. This directory will contain the code that makes up the assembly.
2.
Create a new file called ProductsDB.vb. This file will contain the code implementing the middle tier.

The classes that will be necessary for our middle layer are organized into namespaces. A namespace is just a code container; an organizational device. You're already familiar with namespaces—remember that System.Data.SqlClient is just a namespace with various classes implementing data access to SQL Server. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required