Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# get datatable column names to list

 var columns = table.Columns.Cast<DataColumn>().Select(x => x.ColumnName).ToList();
 
PREVIOUS NEXT
Tagged: #datatable #column #names #list
ADD COMMENT
Topic
Name
1+8 =