goodmorningsky Posted May 2, 2004 Posted May 2, 2004 Hi, all. I saved the value,path to my upload file location to Application bag to use this value globally. But, I don't know how to retrieve from WebForm. object val = Application["UploadDir"]; doesn't work! how can I retrieve it? in global.asax protected void Application_Start(Object sender, EventArgs e) { Application["UploadDir"] = Server.MapPath(".\\") + "uploadFiles"; } Quote Sun Certified Web component Developer, Microsoft Certified Solution Developer .NET, Software Engineer
Administrators PlausiblyDamp Posted May 2, 2004 Administrators Posted May 2, 2004 string s = (string) Application["UploadDir"]; Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
goodmorningsky Posted May 2, 2004 Author Posted May 2, 2004 thanks.. for reply Quote Sun Certified Web component Developer, Microsoft Certified Solution Developer .NET, Software Engineer
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.