Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What does Server.MapPath do?

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


Please Help Members By Posting Answers For Below Questions

Explain the tasks performed by <> tags?

919


what is page

1882


What do you need to run asp?

959


What happens to a html page?

886


What does aspx stand for?

913


Is classic asp dead?

1050


what is execute dataset for sp

2507


where should i get free version of Test Director to download

2225


What is a form collection in asp?

1085


Write code for the following in ASP a)Display attributes of a file b) File copy c) get disk capacity.

2008


How we load the page in ASP?

1029


explain joints in .net.

2337


Distinguish functionalities of ASP in web design.

1850


how can we bind the multiplication of two drop down lists?

2318


What is the difference between razor and aspx view engine?

885