Chapter 21. ActiveX Data Objects (ADO)

In this chapter

Using the ADO Objects

Using Disconnected Recordsets

Exercise: Displaying a Recordset in a DataGrid

In the last chapter, we looked at the basics of accessing a database and creating SQL statements. This chapter is the first of two that explore the ActiveX Data Objects, or ADO. ADO is a means by which you can access all sorts of databases from Visual Basic code. In the latest version of Visual Basic, ADO has been replaced with ADO.NET. However, ADO is an established technology and there are many existing programs that use it. In addition, many of the concepts described in this chapter are a good way to learn about interacting with a database, regardless of the technology used. This chapter provides ...

Get Special Edition Using Microsoft® 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.