What does Server.MapPath do?

Q

What does Server.MapPath do?

✍: Guest

A

Answer1
srver.mappath() maps the path given in the argument to the server’s physical path.

Answer2
It returns the complete(absolute) path of the file used in parameter.

Answer3
It returns a string containing the physical path in the server’s file system that corresponds to the virtual or relative path specified by the Path argument.

2014-09-29, 1412👍, 0💬