What is Server.MapPath?
Answers
Answered by
0
Server.MapPath specifies the relative or virtual path to map to a physical directory.
> Server.MapPath(".")1 returns the current physical directory of the file (e.g. aspx) being executed
> Server.MapPath("..") returns the parent directory
> Server.MapPath("~") returns the physical path to the root of the application
> Server.MapPath("/") returns the physical path to the root of the domain name (is not necessarily the same as the root of the application)
Hope u understand. Thank u. Mark me brainliest if u wish to.
Similar questions
English,
7 months ago
Math,
7 months ago
Accountancy,
7 months ago
Business Studies,
1 year ago
Chemistry,
1 year ago