home
links
tips

code
users
tools
tutorials
projects
web
help
design

mudabone
suletzki
trans48
nutrition reality

MarthaAttire!

code Server Objects


I hope this helps, I'd been looking for this solution for a long time and finally figured it out.  As usualy it's really simple.

If you want to use Server objects in class libraries and don't feel like passing the actual object you can do it like this:

System.Web.HttpContext.Current.Server.MapPath("someDirectory.txt");



Last Modified 1/22/05 8:44 AM

Hide Tools