Building Simple ADO.NET Applications

It is tempting to go through some of the objects that make up ADO.NET before actually creating an application, but chances are you're ready to get your hands dirty with some code. Also, chances are you've already built a few applications that use ADO.NET, so some of this will look familiar to you. Therefore, you'll start by creating a simple application by coding the ADO.NET by hand, and then you'll use the controls given to you by the Visual Studio .NET environment in order to make life easier.

Creating a DataReader in Code

Open VS .NET and create a new ASP.NET Web Application and name it DataWebApp. Choose Visual Basic or C#, depending on your preference. To start, you'll create some very simple code, and ...

Get A Programmer's Introduction to Visual Basic® .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.