Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title></title>
- </head>
- <body style="height: 91px">
- <form id="form1" runat="server">
- <div>
- <asp:Panel ID="PanelLogin" runat="server">
- User:<asp:TextBox ID="TextBoxUser" runat="server"></asp:TextBox>
- Password:<asp:TextBox ID="TextBoxPassword" runat="server" TextMode="Password"></asp:TextBox>
- <asp:Button ID="ButtonLogin" runat="server" OnClick="ButtonLogin_Click" Text="Login" />
- <br />
- <asp:Label ID="LabelStatus" runat="server"></asp:Label>
- </asp:Panel>
- <asp:Panel ID="PanelLogout" runat="server" Visible="False" Height="68px">
- <asp:Label ID="LabelUser" runat="server"></asp:Label>
- <asp:Button ID="ButtonLogout" runat="server" OnClick="ButtonLogout_Click" Text="Logout" />
- </asp:Panel>
- <asp:Label ID="Label2" runat="server" Text="Create a new user." Visible="False"></asp:Label>
- <asp:Panel ID="PanelCreateUser" runat="server" Visible="False" Height="68px" style="margin-top: 45px">
- User:<asp:TextBox ID="TextBoxUser2" runat="server"></asp:TextBox>
- Password:<asp:TextBox ID="TextBoxPassword2" runat="server" TextMode="Password"></asp:TextBox>
- <asp:Button ID="ButtonLogin2" runat="server" OnClick="ButtonCreate_Click" Text="Create User" />
- <br />
- <asp:Label ID="ButtonCreate" runat="server"></asp:Label>
- </asp:Panel>
- </div>
- <asp:Label ID="Label1" runat="server" Text="A new user was successfully created." Visible="False"></asp:Label>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement