Wednesday, October 31, 2007

Server.MapPath( ) / Request.MapPath() ASP.Net

public string MapPath ( string virtualPath);
Maps the specified virtual path to a physical path.  

virtualPath

Returns

“”

Root Path Application Path

“~”

Root Path Application Path

“.”

Current Request path

“..”

Ones Back to parent Path from current Request Path

“…”

two times Back to parent Path from current Request Path

 

No comments: