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.
Begin by opening the Visual Studio integrated development environment (IDE).
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.
Select the VB tree node. In the list view on the right you will see a number of project templates.
Scroll down and select Console Application.
Change the name of the project to ADOBook1. If you wish, you can create a subfolder under the default location so you can group ...