Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

split a datatable based on number of rows

 List<DataTable> result = DTHead.AsEnumerable()
            .GroupBy(row => row.Field<int>("MIVID"))
            .Select(g => g.CopyToDataTable())
            .ToList();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #split #datatable #based #number #rows
ADD COMMENT
Topic
Name
5+8 =