Retriving application path
Virtual path or web path
dim webPath as string = HttpContext.Current.Request.ApplicationPath
works the same as "~"
Physical is the actual path
dim physicalPath as string = HttpContext.Current.Request.MapPath(appPath)
Discussion of Information Technology as a discipline.
0 Comments:
Post a Comment
<< Home