Mega Code Archive

 
Categories / ASP.Net / Server
 

MapPath(file) (VB net)

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