Solved

Xml file to datagrid

Posted on 2006-11-19
1
207 Views
Last Modified: 2010-04-23

  Hi,
   I am developing  a  vb.net windows appln.  I am writing from  oracle database to an XML file.  In another applicaion from this XML file , ultimately  I need to show the contents on  a  datagrid  .
    My issue is  all the columns on the the datagrid  are recognised as string  . I have integer,double and datetime columns . THe sorting on these columns are now "string sorting"

  can you help?

   sam
0
Comment
Question by:sgs1970
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 13

Accepted Solution

by:
newyuppie earned 125 total points
ID: 17974914
one way would be to have the XML with schema (additional keys that define what the columns types are). try this link for tips
http://www.topxml.com/schema/articles/xmlschemas/default.asp
http://msdn2.microsoft.com/en-us/library/ms256129.aspx

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question