Hello
I have a column in a dataview that I want to sort.
The datatype is string.
The values are like:
"0 %"
"10.2 %"
etc
How do I implement sorting on values like those? I can not convert the datatype to int (and skip %).
But if I have int's, you sort like "dataview.sort = 'mycolumn DESC'".
Now I want integer sorting on those strings above.
Does anyone have information about how to implement this sort?
(Im using VS2003)
Thanks!
I have a column in a dataview that I want to sort.
The datatype is string.
The values are like:
"0 %"
"10.2 %"
etc
How do I implement sorting on values like those? I can not convert the datatype to int (and skip %).
But if I have int's, you sort like "dataview.sort = 'mycolumn DESC'".
Now I want integer sorting on those strings above.
Does anyone have information about how to implement this sort?
(Im using VS2003)
Thanks!