By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,760 Members | 955 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,760 IT Pros & Developers. It's quick & easy.

unicode sorting

P: n/a
How can I sort datatable according to unicode? I set corret regional and
culture settings but Basic .Net sorts according Ascii. It sorts letters with
accents like without them.

thank you in advance
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi Vojislav,

Are you talking about database side sorting or client side (.net?)

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

"Vojislav" <wo**@zgop.co.yu> wrote in message
news:c7**********@news.eunet.yu...
How can I sort datatable according to unicode? I set corret regional and
culture settings but Basic .Net sorts according Ascii. It sorts letters with accents like without them.

thank you in advance

Nov 18 '05 #2

P: n/a
Vojislav,

You have two options to set sorting culture.
If your DataTable is standalone (not part of a dataset) you'll have to set
Thread.CurrentThread.CurrentCulture to appropriate culture.

If your table is part of a dataset then you might set DataSet.Locale to a
desired CultureInfo.

HTH

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"Vojislav" <wo**@zgop.co.yu> wrote in message
news:c7**********@news.eunet.yu...
How can I sort datatable according to unicode? I set corret regional and
culture settings but Basic .Net sorts according Ascii. It sorts letters with accents like without them.

thank you in advance

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.