newbie <(E-Mail Removed)> ha scritto:
> I had posted this question but it got lost in another question. I'm
> posting it again:
>
> My application_end event in global.asax is not working as-is. In order
> to debug, I want to call it from another file, say debug.aspx through
> a button, e.g. "end application". How do I call application_end in
> global.asax from debug.aspx?
>
> thanks
You can write in debug.aspx:
XmlDocument doc=new XmlDocument();
doc.Load(Request.MapPath("web.config"));
doc.Save(Request.MapPath("web.config"));
--
AZ [Microsoft - .NET MVP]
Mia Home page:
http://ciclismo.sitiasp.it
Asp.Net community:
http://www.aspitalia.com
Il mio blog:
http://blogs.aspitalia.com/az