General information
Title:
How to set column count in DataGrid at design time
I'm working with Visual C++ 6.0. I have created a dialog box that includes a Microsoft ADO Data control 6.0 to access a table in my VFP database. The RecordSource property using an SQL statement to return 10 columns from the database table. I have also inserted a Microsfot DataGrid Control 6.0 in the dialog box and bound its DataSource member to the ADO Data Control. Much of this is working just fine. At design time, I see only 2 columns in the DataGrid. In the property sheet for the DataGrid, I can associate these 2 columns with any of the 10 columsn being returned by the ADO control.
But, I can't see any way to change the number of columns in the DataGrid to 10.
Thanks in advance for your help.
Jim
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only