Menu Control in asp.net
Code for Default.aspx file:
<html >
<head runat="server">
<title>Aryan computers, Barshi </title>
</head>
<body>
<form id="form1" runat="server">
<div>
<center>
<asp:Label ID="Label1" runat="server" Text="Aryan Computers, Barshi"
Font-Bold="True" Font-Names="Comic Sans MS" Font-Size="Larger"
ForeColor="#FF0066" BackColor="#66FF66" Width="1000px"></asp:Label>
</center>
<center>
<asp:Label ID="Label2" runat="server" Text="Shivaji Maharaj Shopping Center, Alipur Road, Barshi Pin-413411 MS-India "
Font-Bold="False" Font-Names="Comic Sans MS" Font-Size="Large"
ForeColor="#6666FF" BackColor="#66FF66" Width="1000px"></asp:Label>
</center>
</div>
<asp:Menu ID="Menu1" runat="server" BackColor="#FF6699" Height="20px"
Orientation="Horizontal" Width="1000px">
<Items>
<asp:MenuItem Text="Home" Value="Home"></asp:MenuItem>
<asp:MenuItem Text="Service" Value="Service">
<asp:MenuItem Text="Software" Value="Software"></asp:MenuItem>
<asp:MenuItem Text="Hardware" Value="Hardware"></asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="About" Value="About">
<asp:MenuItem Text="Our Mission" Value="Our Mission"
NavigateUrl="~/Mission.aspx"></asp:MenuItem>
<asp:MenuItem Text="Our Goal" Value="Our Goal" NavigateUrl="~/Goal.aspx"></asp:MenuItem>
<asp:MenuItem Text="About Company" Value="About Company"></asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="Contect Us" Value="Contect Us"></asp:MenuItem>
</Items>
</asp:Menu>
</form>
</body>
</html>
Code for Mission.aspx file:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Mission.aspx.cs" Inherits="Default2" %>
<html>
<head runat="server">
<title>mission </title>
</head>
<body>
<form id="form1" runat="server">
<div>
<p>
<asp:Label ID="Label1" runat="server" Text="Mission:" Font-Bold="True"
ForeColor="#33CC33"></asp:Label>
To offer life-long learning, governance and empowerment services through appropriate partnerships
to a very large population with various diversities : Bigger
with high quality of relevance and applicability in life and work : Better
at an affordable cost : Cheaper
within a shortest possible time : Faster
with a wide accessibility from metros to villages : Wider
in a mass-personalized manner : Deeper personal experience</p>
</div>
</form>
</body>
</html>
Code for Goal.aspx file:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Goal.aspx.cs" Inherits="Goal" %>
<html >
<head runat="server">
<title>Goal</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" runat="server" Text="Goal:" Font-Bold="True"
Font-Size="Medium" ForeColor="#33CC33"></asp:Label>
</div>
<p>
To prepare the people for knowledge-based economy and society:
<ul>
<li> To champion the cause of life-long learning with developmental orientation</li>
<li> To stimulate the creation of world-class knowledge resources</li>
<li>To provide universal access to them through Information Technology</li>
<li>To bridge the Digital Divide and resultant Knowledge Divide</li>
</ul> </p>
</form>
</body>
</html>
Output:
Comments
Post a Comment