I want to find column name in DataGridView.
I have column index. How can I find it.
dGVTransGrid.CurrentCell.ColumnIndex: I want it's column name.
Plz help.
Thanks.
I want to find column name in DataGridView.
I have column index. How can I find it.
dGVTransGrid.CurrentCell.ColumnIndex: I want it's column name.
Plz help.
Thanks.
In a single row of code
String name = dataGridView1.Columns[dataGridView1.CurrentCell.ColumnIndex].Name;