Login Page
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" runat="server" Text="Name"></asp:Label><asp:TextBox ID="NameTextBox"
runat="server"></asp:TextBox><br/>
<asp:Label ID="Label2" runat="server" Text="Password"></asp:Label><asp:TextBox ID="PasswordTextBox"
runat="server"></asp:TextBox><br/>
<asp:CheckBox ID="CheckBox1" Text="Remember Me" runat="server" />
<asp:Button ID="Button1" runat="server" Text="Login" onclick="Button1_Click" />
</div>
</form>
</body>
For Main Page
<body>
<form id="form1" runat="server">
<div>
<a href="Main.aspx">Home Page</a>
<asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Gmail</asp:LinkButton>
</div>
</form>
</body>
For Profile
<body>
<form id="form1" runat="server">
<div>
HI
<asp:Label ID="WelcomeLabel" runat="server" Text=""></asp:Label><br/>
<asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Signout</asp:LinkButton>
</div>
</form>
</body>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" runat="server" Text="Name"></asp:Label><asp:TextBox ID="NameTextBox"
runat="server"></asp:TextBox><br/>
<asp:Label ID="Label2" runat="server" Text="Password"></asp:Label><asp:TextBox ID="PasswordTextBox"
runat="server"></asp:TextBox><br/>
<asp:CheckBox ID="CheckBox1" Text="Remember Me" runat="server" />
<asp:Button ID="Button1" runat="server" Text="Login" onclick="Button1_Click" />
</div>
</form>
</body>
For Main Page
<body>
<form id="form1" runat="server">
<div>
<a href="Main.aspx">Home Page</a>
<asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Gmail</asp:LinkButton>
</div>
</form>
</body>
For Profile
<body>
<form id="form1" runat="server">
<div>
HI
<asp:Label ID="WelcomeLabel" runat="server" Text=""></asp:Label><br/>
<asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Signout</asp:LinkButton>
</div>
</form>
</body>
No comments:
Post a Comment