MapPath(file) (VB.net) : Map Path « Server « ASP.Net






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>
           
       








Related examples in the same category

1.Showing ServerVariable values via the ServerVariables Collection in ASP.NET
2.Use map path (VB.net)