Two people doing their own thing.

Microsoft Certified Partner Soul Solutions
Dec 22

Written by: Soul Solutions
Friday, 22 December 2006

BronwenWeeGo.jpgSorting 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";

Tags:

Your name:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment    Cancel