Visual Basic Concepts
Using only a DataGrid and an ADO Data control you can create a database application that allows the end user to read and write to a recordset.
Create a simple database application using the ADO Data Control
If a Data Source has not been created, follow the steps in "Creating the Northwind OLE DB Data Link."
If the DataGrid control is not present in the Toolbox, right-click the Toolbox, and use the Components dialog box to load it. Also load the ADO control.
Click the ADO Data control to select it, and press F4 to make the Properties window appear. Click ConnectionString and then select Use Data Link File. Click Browse. Select the Northwind Data Link file and then click Open. Click OK
On the Properties window, click RecordSource and type a SQL statement to populate the DataGrid control. In this case, type in Select * From Products.
Click the DataGrid control to select it. On the Properties window, click DataSource and a drop-down list of all data controls will be presented — in this case only the ADO Data control. Click the control.