Answer Posted / sowmya
Maps a virtual or relative path to a physical path.
Syntax:
x = Server.MapPath( string )
Parameters:
string - string containing the path to be translated
The method returns new string containing the physical path
corresponding to the path (virtual or relative) in the
passed parameter.
Example:
JScript/VBScript:
<%= Server.MapPath("/databases/database1.mdb") %>
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
explain with example redaing contents and writing contents from a file using APS object stream.
Explain the life cycle of asp page.
How do I create an aspx file?
Can .net framework components be used from a com program?
Define a class in css?
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...
Explain the order of precedence for logical operators.
how can i connect to ms-access database, with ASP??
IN THREE TIER AMONG THREE LAYERS WHICH ONE IS INDEPENDENT LAYER AND HOW?
What are private assemblies and shared assemblies?
Name the data types which does the rangevalidator control support?
How do in-process and cross-process communication work in the common language runtime?
What is the purpose of application.lock method?
Explain the event handlers of session object?
What is asp language?