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
rajul_mishra
NA
1
0
.NET1.1 Config Element not returning the right owner document?
Jun 14 2004 11:54 AM
The following code works in 1.0 but not in 1.1. The InnerText, Inner/Outer Element are empty strings and the hasChildNodes returns false. XmlElement element = (XmlElement) System.Configuration.ConfigurationSettings.GetConfig("log4net"); XmlDocument doc = element.OwnerDocument; Console.WriteLine(doc.InnerText + " " + doc.InnerXml); Console.WriteLine(doc.OuterXml); Console.WriteLine(element.OwnerDocument.HasChildNodes); I am using VS2003 to build and run. I have added the App.Config file to the project and it gets renamed properly during compile.
Any help will be appreciated, Thanks, rajul
Reply
Answers (
0
)
SharePoint Services Web Parts
how to manage resume posting???