Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
updating web.config by programmatically in application start up event of global.asax, is it right way to update the config file.? What impact it does on website.?
Uday Gaikwad
Jul 8 2010 7:22 AM
4.8k
Reply
protected void Application_Start(object sender, EventArgs e)
{
//In this event i m updating the web.config file...
XmlDocument doc = new XmlDocument();
doc.load("..../web.config");
//Logic to update the web.config file.
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
finding the control which is in gridview globally
Scraps