string xmlData = System.IO.File.ReadAllText(@"C:\test.xml");
System.IO.File.WriteAllText(@"C:\test.xml", xmlData);
sknake
Industrious Poster
4,954 posts since Feb 2009
Reputation Points: 1,764
Solved Threads: 735
Hi Riyas,
as earlier suggested.. you can directly write that xml file into a string and you can print on the webpage.
here textbox1 is a textbox with multiplelines...
protected void Page_Load(object sender, EventArgs e)
{
string xmlData = System.IO.File.ReadAllText(@"C:\test.xml");
System.IO.File.WriteAllText(@"C:\test.xml", xmlData);
TextBox1.Text = xmlData;
}
kameswari
Junior Poster in Training
76 posts since Sep 2008
Reputation Points: 13
Solved Threads: 16
I'm from Atlanta, Georgia.
Please mark this thread as solved if your question has been answered and good luck!
sknake
Industrious Poster
4,954 posts since Feb 2009
Reputation Points: 1,764
Solved Threads: 735
Hi Riyas,
I am from hyderabad (AP) - India... what abt u??
kameswari
Junior Poster in Training
76 posts since Sep 2008
Reputation Points: 13
Solved Threads: 16
hi daily i will browse these forums ... there is no specific time for browsing ...Anyways to day i'm leaving a bit early.....
bye...
kameswari
Junior Poster in Training
76 posts since Sep 2008
Reputation Points: 13
Solved Threads: 16