Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > .NET Framework 2.0
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 19th, 2007, 08:45 AM
Registered User
Join Date: May 2006
Location: chandigarh, , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to sort order in local language.

hi all,

i have created a windows database application in .net 2.0..
i am retrieving data from SQL Server 2005 database and displaying in DataGridView.
In DataGrid View i have changed font style of GridViewCell to "Hindi" (a local language).
Now i want to sort DataGridView on basis of Hindi because it is displaying data in hindi, but in database i have english text.
I am using DataGridView sorting but it is sorting only on basis of english text.
How can i sort it on the basis of Hindi text.

thanks in advance...

Reply With Quote
  #2 (permalink)  
Old July 21st, 2007, 12:51 AM
Authorized User
Join Date: Sep 2004
Location: Edegem, Antwerpen, Belgium.
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts

Hi, I think the easiest way is to get the data from the database sorted in the Hindi rules by using a collation.



Reply With Quote
  #3 (permalink)  
Old July 21st, 2007, 01:54 AM
Registered User
Join Date: May 2006
Location: chandigarh, , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

hi geert,

thanx for your reply...
collation works only if i have unicode (hindi text) values in database but in my case..i am storing english text in Database...but i have just changed the font of Cell in DataGridView.....so in DataGridView it is showing hindi....so do we have any way to sort our DataGridView on the basis on hindi text....

looking forward for your reply....

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic sort order or sort datatype kapy_kal XSLT 2 September 18th, 2007 02:10 PM
sort recordset in different order pablohoney Classic ASP Databases 0 December 29th, 2005 08:32 PM
Sort order Question Tere Crystal Reports 1 February 14th, 2005 03:18 PM
Access 2K Sort Order rgerald Access VBA 0 August 12th, 2004 10:37 AM
how to incorporate local language gumnam VB Databases Basics 0 August 21st, 2003 12:09 PM

All times are GMT -4. The time now is 02:55 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.