Datagrid column heading
Visual Basic
3
Posts
2
Posters
0
Views
1
Watching
-
In a windows datagrid, how can I find out what the column heading name is when I click on a cell. I am using a DataGridTableStyle Thanks in advanced Jeffrey
-
Use the following code I hope it is helping Dim col As Integer = Me.datagrid1.CurrentCell.ColumnNumber MsgBox(Me.DataGridTableStyle1.GridColumnStyles.Item(col).HeaderText)