O'Reilly logo

ADO.NET Programming in Visual Basic™ .NET by Bob Howell, Steve Holzner

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

Your First ADO .NET Program

We will now create a simple command-line program using ADO .NET. We will access a table, list the rows to the console, and close the connection.

1.
Begin by opening the Visual Studio integrated development environment (IDE).
2.
Next select the File|New|NewProject menu item. The New Project dialog opens. On the left you will notice a tree view with several different types of project groups listed: VB, Visual C# and Visual C++, and others.
3.
Select the VB tree node. In the list view on the right you will see a number of project templates.
4.
Scroll down and select Console Application.
5.
Change the name of the project to ADOBook1. If you wish, you can create a subfolder under the default location so you can group ...

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