unicode sorting

  • Thread starter Thread starter Vojislav
  • Start date Start date
V

Vojislav

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
 
Hi Vojislav,

Are you talking about database side sorting or client side (.net?)
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top