Partager via


Visual Basic Concepts

RDO Versus ADO in Common Data Access Scenarios

Three basic data access scenarios are listed below, and each one is discussed in a succeeding topic. In each scenario, an RDO approach to the problem is shown, followed by an ADO approach.

  • Establishing a Connection to a Database

  • Running a Basic Query

  • Displaying a Resultset in an MSHFlexGrid control

Note   Some of these examples refer to additional controls on a form, such as an MSHFlexGrid control or a TextBox control. Add these controls to your project to make the projects work correctly.