What does Server.MapPath do?

Answer Posted / kishore maddineni

The MapPath method maps a relative or virtual path to a
physical path. This method does not check for the validity
or the existence of the physical path. If the path starts
with a forward or backward slash, the method returns the
path as if the path is a full virtual path. If the path
does not start with a slash, then the method returns the
path relative to the directory of the ASP file being
processed

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hello,please can any one tell me who is best faculty for asp.net in naresh it....i heard that mr.nagaraju and mr.rakesh sing both are best..so i am confused to take one particular faculty. classes ...so please if any attend classes just give me clarity of teaching style..i mean ..who is best...

2456


What are the components of asp?

499


Define a cookies collection?

517


How do I change a aspx file to a pdf?

505


What is asp used for?

504






Can .net framework components be used from a com program?

484


What does asp stand for?

537


How do I administer security for my machine? For an enterprise?

497


How do you initialize a two-dimensional array that you don't know the dimensions of?

513


Define application object?

506


What is asp model?

540


Can we Use VB SCRIPT instead of JAVASCRIPT in Asp.Net...

1846


Which is the default scripting language on the client side?

497


What is asp code?

496


how can we done appllication deployment

1705