Hi ...
Please let me know if it is possible to add a Column to a Datagrid during runtime in VB 6.0.
Thanks for your help
Nel
Printable View
Hi ...
Please let me know if it is possible to add a Column to a Datagrid during runtime in VB 6.0.
Thanks for your help
Nel
Not sure about datagrid. I always use MSFlexgrid.
In MSFlexgrid you would add a column like this:
MSFlexgrid1.cols=MSFlexgrid.cols + 1
Don't know if datagrid has something similar or not but you can try it.
Welcome to the forums!
You can add a column like this...
Code:Private Sub Form_Load()
DataGrid1.Columns.Add 1
DataGrid1.Columns.Add 2
End Sub