Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# get all the column names from datagridview

for (var i = 0; i < DataGridView.ColumnCount; i++)
var name = DataGridView.Columns[i].HeaderText;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #column #names #datagridview
ADD COMMENT
Topic
Name
7+4 =