flybird
April 14th, 1999, 08:29 PM
dear everyone :
how to use datagrid in visual c++ , give me some advices thanks and \
do you have samples .or where can find the samples thanks very much.
April 15th, 1999, 11:53 PM
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. Visual Basic has documentation.