Hi Frnds,
i want to know how to Read and Write an Xml File through Asp.net web Form.
Thanks,
@@mir
To Read & Write Xml File in Asp.net Form
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend3days leftRegister
Neha Tewari19 reputationPosted Oct 31, 2011, 2:50 AM EDT
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; }