TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mahesh Mohan
NA
23
7.5k
Web Browser control with it and display as a Xml
Oct 15 2013 9:42 AM
I have a xml. I want to set the value of the Web Browser control with it and display as a Xml.
how do I tell it to display as a XML ?
System.Xml.XmlTextReader oXmlTextReader = new
System.Xml.XmlTextReader(@"D:\Demo\data.xml");
System.Text.StringBuilder oStringBuilder = new System.Text.StringBuilder( ) ;
oStringBuilder.Append(oXmlTextReader.ReadOuterXml( ) ) ;
while (oXmlTextReader.Read())
{
oStringBuilder.Append(oXmlTextReader.ReadOuterXml( ) ) ;
}
wbWebBrowser.Navigate(oStringBuilder.ToString());
}
Reply
Answers (
0
)
How to learn WPF?
How to dynamically list box items add on canvas in WPF