|
-
April 9th, 1999, 08:52 AM
#1
How to use DB grid control?
people say grid control is easy to use, but I have spent some time with this control but not able to make it work. How do we attach the database and tables etc
Any tips in this regard are more than welcome.
-
April 15th, 1999, 11:35 PM
#2
Re: How to use DB grid control?
In your project, select CFormView as base class for the view class if you want the grid in a view. Bring the Microsoft data control(data1) to the dialog. Set datasource to a data source (you had created earlier using control panel). Set Recordsource property of data1. Then bring datagrid to the dialog. Set grid databound to data1. In VB, you can set properties for individual column at design time. You can manipulate columns properties at run time in the code in VC.
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
|