C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » .NET »

Read XML ??


Posted Date: 27 Aug 2007      Posted By: Koteswara Rao      Member Level: Gold     Points: 2   Responses: 2



hi friends
my xml pattern will like this
<?xml version="1.0"?>
<STUDENTS>
<STUDENT>
<SNO xmlns="1" />
<SNAME xmlns="anil" />
<S1 xmlns="52" />
<S2 xmlns="10" />
<S3 xmlns="80" />
</STUDENT>
<STUDENT>
<SNO xmlns="2" />
<SNAME xmlns="bobby" />
<S1 xmlns="52" />
<S2 xmlns="80" />
<S3 xmlns="20" />
</STUDENT>
</STUDENTS>
++++++++++++++++++++++++I WANT TO READ THE XML FILE TO ASP.NET WITH C# ++++
PLEASE SEND ME THE CODING





Responses

Author: Cema Indumathy V    27 Aug 2007Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

DataSet ds = new DataSet();
ds.RedaXML(strpath);



Author: vadivukarasi    27 Aug 2007Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

u can work with xml using datasets


ds.ReadXml(xmlfilepath)
ds.Tables[0] will refer to ur Student table
ds.Tables[0].Rows.Count is 2
ds.Tables[0].Rows[0].ItemArray[0].ToString() will refer to the SNO 1



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : could you able to tell me i ill give the url what s performancecountershoot?
Previous : XML-GRIDVIEW
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use