PC Review


Reply
Thread Tools Rate Thread

DataView.Sort Question

 
 
Richard
Guest
Posts: n/a
 
      24th Jul 2003
Hi,

I have a Dataview object which I use to bind to a Datagrid.

It has 5 columns, 2 are string ,3 are numeric datatypes.

If I use the 'Sort' Function of the Dataview Object, it sorts the string
columns correctly, however the numeric columns are not ordered as they are
when I do a Database select using an 'ORDER BY' command.


I was wondering if I am missing something...how can I sort the numeric
columns to be sorted numerically? rather than like a string.

Cheers,
Richard


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dataview Sort Charles A. Lackman Microsoft ADO .NET 6 5th Feb 2007 09:02 AM
DataView.Sort NaN gilly3 Microsoft C# .NET 3 20th Mar 2006 06:29 PM
DataView sort =?Utf-8?B?Vmlj?= Microsoft ADO .NET 1 17th Feb 2005 07:25 PM
DataView sort fails to sort on fields with comma in field names Mone Hsieh Microsoft ADO .NET 1 14th May 2004 09:29 PM
Sort and DataView Samuel Microsoft ADO .NET 0 17th Nov 2003 09:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:24 PM.