XML File example:
i've had no luck finding an example
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 attend5days leftRegister
Jaish MathewsRank #225 · 11K reputationPosted Mar 31, 2010, 11:15 PM EDT
I got it by using below code
using (XmlTextReader tr = new XmlTextReader(@"E:\JAISH\a.xml"))
{
if (tr.Read())
{
string s = tr.ReadOuterXml();
richTextBox1.Text = s;
}
}