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
Private Sub Form_Load() DataGrid1.Columns.Add 1 DataGrid1.Columns.Add 2 End Sub
Regards, ™ As a gesture of gratitude please consider rating helpful posts. c",) Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system
Forum Rules