Dataview sort

  • Thread starter Thread starter Cindy Lee
  • Start date Start date
C

Cindy Lee

This sort is sorting on strings, but I want to sort on an integer value.
How can I tell it to sort by number?
 
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.
 
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>
 

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

Similar Threads

DataView question 1
sort Dataview 2
DataView - Integer Sorting 1
linq and gridview sorting 2
Fastest way to sort 14
ToolStripDropDown - Columns and Sorting 1
DataView sort 1
Problem with DataView.Sort 2

Back
Top