vbnetcoder
asked on
UPLOAD file path in webconfig
I am building a project for a client. I need to be able to upload files to a directory ... I was thinking about putting the path into the webconfig so that the client could just change the name latter to what works for them when the get the code...
Could somebody tell me how that would be done OR if there would be a better way to do that?
Could somebody tell me how that would be done OR if there would be a better way to do that?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
During the startup of the application (Global.asax.cs), I have occasionally iterated through all appSettings and store them in the Application object for easy access. Also, you could create a strongly typed class to hold them too (not quite as generic as using Application).
Gary Davis
Gary Davis
ASKER
ty
ASKER