I want to use some function in Sort Expression of Datatable.Select.
I try by this-
string strSelect="";
///Some code
string strSort="RIGHT(TESTID,2) DESC,SUBSTRING (TESTID,3,5) DESC, TESTDATE DESC";
dtOld.Select(strSelect,strSort );
but,I think there is something wrong by using sql function(eg.SUBSTRING) in Sort Expression.
SO, How can I sort my datatable by this sort expression? Is it possible?
Thanks.