c# - Why does CopyToDataTable unsort the DataRow Array -
i've got datatable need sort , place datatable. on face of easy below:
datatable sortme = getdata(); sortme.select("col1 = 'something'", "sortbyme asc").copytodatatable();
however, i've found pass datarow array created select() copytodatatable(), new datatable no longer sorted sortbyme
.
how fix without creating loop push each datarow datatable? , causing sorting lost?
there question asked , solved how sort datatables row, please @ here, might you:
Comments
Post a Comment