|
-
Oct 4th, 2000, 04:00 AM
#1
Thread Starter
Member
how can i connect the dbgrid control to a ms access table?
thanks
-
Oct 4th, 2000, 04:05 AM
#2
Fanatic Member
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...
Crispin
VB6 ENT SP5
VB.NET
W2K ADV SVR SP3
WWW.BLOCKSOFT.CO.UK
[Microsoft Basic: 1976-2001, RIP]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|