Step 2 of 3: Binding the Grid to a Data Source
In This Topic
In this topic you will add the C1NWind.mdb database that is installed with the product and bind it to the C1GridExtender.
-
Add the C1NWind.mdb database installed with this product to the App_Data folder of the project.
-
In the Solution Explorer, right-click the App_Data folder and select Add | Existing Item.
-
Select C1NWind.mdb and click Add.
-
In the Toolbox, drag an AccessDataSource control to the page, click the smart tag, and choose Configure Data Source in the Tasks menu.
-
Click Browse, select the C1NWind.mdb database, and click OK.
-
Click Next, click Next again, and then Finish to close the Configure Data Source wizard.
-
Click the GridView smart tag and select AccessDataSource1 next to Choose Data Source.