Solved

Xml file to datagrid

Posted on 2006-11-19
1
205 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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sql server, import complete table, using vb.net 9 53
SSRS 2016 Rendering HTML tables 3 63
Code enhancement 4 34
Create a button class for use in all vb.net apps 5 20
This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 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