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
What is the purpose of application.lock method?
What do the abbreviations asp and jsp stand for?
Define application object?
Define response object?
Enter the roll number of a student and get his marks from a database file called MARKS. Use an ASP code for the same
What is asp and how it works?
What is servervariables collection in asp?
What is aspx used for?
What is the difference between asp and html? Or why asp is better than html?
we are doing Design of Placement Website as our academic project. Home page is in c#.net format and register page is in asp.net format. We met a problem in this.register page is not linked in home page. how i complete my project with out any change..?
what is database deployment?
How do I administer security for my machine? For an enterprise?
How do I open an asp file in excel?
Explain how do you box a primitive data type variable?
Explain the post and get method or explain the difference between them?