Using Data Objects

There are two primary ways of working with databases in C#—with the visual tools in the IDE, and in code. We looked at the visual tools such as the Server Explorer, the Data Adapter Configuration Wizard, the Query Builder, the toolbox, and others, in the previous chapter, and you can handle a great many database tasks using those visual tools. The other way of working with databases in C# is in code, which is the way we'll do things in this chapter. Although the IDE visual tools can do a lot for you, when you really want to drill down to the details, or when you want to do things on the fly at runtime, there's no substitute for doing things yourself in code.

In order to handle databases in code, we have to become familiar with ...

Get Microsoft® Visual C#® .NET 2003 Kick Start 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.