Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# loop datatable column names convert to list

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