ASP.NET Tutorial/Development/MapPath
MapPath
<%@ Page Language="vb" %>
<html>
<head>
<title>MapPath method example</title>
<script runat="server">
Sub Page_Load()
Message.Text = MapPath("Default.aspx")
End Sub
</script>
</head>
<body>
<asp:label id="Message" runat="server"/>
</body>
</html>