ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Why sort column of grid not same sort database ?
Title:
B
I
{code}
?
I keep data field in thai languague ? when Query by SQL code (order by) then result not same order by click header column in Grid I want to Grid sort same Query in database Grid sort (Thai vowel before)--> http://puu.sh/uFDDQ/e378eb36fe.png Database sort (Thai consonant before) --> http://puu.sh/uFDGd/4a333fce5b.png -- I want How I can ?
Save Changes
Cancel
nutfergie
asked at 12 Mar 2017
well, the images aren't much help for me since I don't speak Thai, I'm guessing maybe in the grid you're actually sorting by 2 columns instead of just one, try using `.SingleColumnSort()`
at 12 Mar 2017
Omu
I found the answer, it's because of asp.net `Thread.CurrentThread.CurrentCulture`
at 12 Mar 2017
nutfergie
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK