Home » .NET 4.0 » Single ASP.NET page

Single ASP.NET page


<%@ Page Language="VB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
   <title>My VB.NET Page </title>
    <link href="../css/Styles/Site.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div class="page">
    <div class="header">
       <div class="nav_pos" >
           <div class="nav_format">
               <% Response.Write(MonthName(DateTime.Now.Month) & " +
               "   " & DateTime.Now.Day & ", " & DateTime.Now.Year) %> </div>
            </div>

                <div id='MenuPos' style="position:relative;">
                    <% Response.WriteFile("../site_menu/top_menu.asp")%>
                </div>
        </div>
    <fieldset>
        <legend>This is my page </legend>
    <form id="form1" runat="server">
    <strong>Click on link to open pdf document.</strong>
    <div style="padding-left: 20px;">
This is single asp.net page
    </div>
    </form>
    </fieldset>
    <div class="footer">
          Copyright © <%= Date.Today.Year.ToString() %> - 
           My Website - All Rights Reserved.</div>
</div>
</body>
</html>