Sorting a datatable…just one of those things i always end up looking up…
Just set the default view sort string….e.g.
DataTable dt; dt.DefaultView.sort = "CreateDate desc";
Sorting a datatable…just one of those things i always end up looking up…
Just set the default view sort string….e.g.
DataTable dt; dt.DefaultView.sort = "CreateDate desc";