Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sorting a DataTable in C#

//Sorting the Table
            DataView dv = dt.DefaultView;
            dv.Sort = "ParamValue asc";
            DataTable sortedtable1 = dv.ToTable();
Source by www.codeproject.com #
 
PREVIOUS NEXT
Tagged: #sorting #DataTable
ADD COMMENT
Topic
Name
3+7 =