Click here to Skip to main content
14,977,910 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to Retrive the XML sheet data into windows application in c#.net From XML Form
Posted
Updated 1-Sep-11 19:56pm
v3
Comments
koolprasadd 2-Sep-11 1:09am
   
not clear, explain bit more.
$aikumar$ Cilamkoti 2-Sep-11 1:51am
   
I jus want to retrieve the data from XML Sheet to my application,
   
From where? :-)
--SA
$aikumar$ Cilamkoti 2-Sep-11 1:49am
   
Thanks for ur Reply Buddy,

I jus want to retrieve the data from XML Sheet to my window application,

I assume XML sheet refers to a XML file, following page might help you to go ahead,

How to read XML from a file by using Visual C#
[^]

:)
   
if you want read xml data into data table or dataset then rty it and use where ever you want
C#
string XMLFile = Server.MapPath("your server path");
DataSet dsReadXMLFile = new DataSet();
if (File.Exists(SMTPSettingFile))
 {
    dsReadXMLFile .ReadXml(XMLFile);
 }
   
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900