how can i connect the dbgrid control to a ms access table?
thanks
Printable View
how can i connect the dbgrid control to a ms access table?
thanks
If you're using the Microsoft Data Bound Grid Control (there are a few grid controls out there now) you need to do the following.
1. Place a data control on the form as well as the grid.
2. Set the DataSource property on the grid to the Data Control.
3. Set the DatabaseName and RecordSource properties of the data control
4. Right-click on the grid and select Retrieve fields...
There are many ways to populate a grid, this is just one...