Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

.NET Forum


You are currently viewing our .NET Forum as a guest. Please register to participate.
Login



Reply
VB.Net 2008 Sort DataGridViewTextBoxColumn Numeric values
Old 01-27-2012, 04:01 PM VB.Net 2008 Sort DataGridViewTextBoxColumn Numeric values
Experienced Talker

Posts: 39
Name: remya
Trades: 0
I’m using VB.Net 2008 application program.
I’m using DataGridView, where column types DataGridViewTextBoxColumn. I have 3 fields. 1 field values are numeric, 1 field values are string and 1 field values are decimal.
When I try to sort the string value column, it sorts correctly. But when i try to sort the numeric value column, it sorts as if its string value.
I searched a lot to make it sort numerically. But I couldn’t find it.
If you know how i can sort that column, please help me. If you can provide an example, that will be so helpful.
Thanks in advance.
remya1000 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-29-2012, 08:06 AM Re: VB.Net 2008 Sort DataGridViewTextBoxColumn Numeric values
Experienced Talker

Posts: 39
Name: remya
Trades: 0
while adding data to column, somehow i converted that to string. once i removed that, it's working fine and start sorting.
remya1000 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to VB.Net 2008 Sort DataGridViewTextBoxColumn Numeric values
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11457 seconds with 11 queries