Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
545
Numeric sort problem
posted

I load a xml file in a DataSet validating it with a XSD schema.
In my XSD schema one of  the attributes is set to : type="xs:unsignedLong"

In my dataset it's set to datatype 'System.UInt64'. (checked it !)
In my UltraWinGrid Designer the corresponding column property 'DataType' is set to 'System.UInt64'

When i test it on runtime the column datatype returns 'System.String'

So sorting the numeric values goes wrong. It's sorted alphabetical.
(Already tried to set te property 'Style' to 'Integer' !)

How to force a numeric sort ?