D
daisy
Hi
I have a windows form application in which I fetch some
some from database and display it in an XML format.
I display data in a rich text box. It displays data
correctly. I want the data to be formatted like a tree
view with colours i.e how XML appears in IE.
What do I need to do to achieve this.
I use the following code to display data in the richtext
box.
XmlDocument empDoc = new XmlDocument();
empDoc.PreserveWhitespace = true;
empDoc.Load(empReader);
String str = empDoc.OuterXml;
return str;
Thanks in advance
Daisy
I have a windows form application in which I fetch some
some from database and display it in an XML format.
I display data in a rich text box. It displays data
correctly. I want the data to be formatted like a tree
view with colours i.e how XML appears in IE.
What do I need to do to achieve this.
I use the following code to display data in the richtext
box.
XmlDocument empDoc = new XmlDocument();
empDoc.PreserveWhitespace = true;
empDoc.Load(empReader);
String str = empDoc.OuterXml;
return str;
Thanks in advance
Daisy