PC Review


Reply
Thread Tools Rate Thread

Dataview sort

 
 
Cindy Lee
Guest
Posts: n/a
 
      12th Jan 2007
This sort is sorting on strings, but I want to sort on an integer value.
How can I tell it to sort by number?


 
Reply With Quote
 
 
 
 
Cindy Lee
Guest
Posts: n/a
 
      12th Jan 2007
I think I need to change the datatable, column type. But I'm binding it
with an XML file using ReadXml and works very well. Is there anyway to
change the column type in the dataset.
"Cindy Lee" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> This sort is sorting on strings, but I want to sort on an integer value.
> How can I tell it to sort by number?
>
>



 
Reply With Quote
 
Cindy Lee
Guest
Posts: n/a
 
      12th Jan 2007
Sorry, I figured it out. I use readXMLSchema and read in that file first.
Is there a way to set the schema in the xml tag like
<id type=integer>33</id>


"Cindy Lee" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I think I need to change the datatable, column type. But I'm binding it
> with an XML file using ReadXml and works very well. Is there anyway to
> change the column type in the dataset.
> "Cindy Lee" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > This sort is sorting on strings, but I want to sort on an integer value.
> > How can I tell it to sort by number?
> >
> >

>
>



 
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 will not sort Raymond Lewallen Microsoft VB .NET 9 8th Nov 2004 08:18 PM
Re: DataView Sort William Ryan eMVP Microsoft ADO .NET 0 29th Jul 2004 11:04 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


Features
 

Advertising
 

Newsgroups
 


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