SHARE
TWEET

Untitled

a guest Dec 6th, 2016 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>
  2.  
  3. <!DOCTYPE html>
  4.  
  5. <html xmlns="http://www.w3.org/1999/xhtml">
  6. <head runat="server">
  7.     <title></title>
  8. </head>
  9. <body style="height: 91px">
  10.     <form id="form1" runat="server">
  11.     <div>
  12.    
  13.         <asp:Panel ID="PanelLogin" runat="server">
  14.             User:<asp:TextBox ID="TextBoxUser" runat="server"></asp:TextBox>
  15.             Password:<asp:TextBox ID="TextBoxPassword" runat="server" TextMode="Password"></asp:TextBox>
  16.             <asp:Button ID="ButtonLogin" runat="server" OnClick="ButtonLogin_Click" Text="Login" />
  17.             <br />
  18.             <asp:Label ID="LabelStatus" runat="server"></asp:Label>
  19.         </asp:Panel>
  20.         <asp:Panel ID="PanelLogout" runat="server" Visible="False" Height="68px">
  21.             <asp:Label ID="LabelUser" runat="server"></asp:Label>
  22.             <asp:Button ID="ButtonLogout" runat="server" OnClick="ButtonLogout_Click" Text="Logout" />
  23.         </asp:Panel>
  24.         <asp:Label ID="Label2" runat="server" Text="Create a new user." Visible="False"></asp:Label>          
  25.          <asp:Panel ID="PanelCreateUser" runat="server" Visible="False" Height="68px" style="margin-top: 45px">
  26.             User:<asp:TextBox ID="TextBoxUser2" runat="server"></asp:TextBox>
  27.             Password:<asp:TextBox ID="TextBoxPassword2" runat="server" TextMode="Password"></asp:TextBox>
  28.             <asp:Button ID="ButtonLogin2" runat="server" OnClick="ButtonCreate_Click" Text="Create User" />
  29.             <br />
  30.             <asp:Label ID="ButtonCreate" runat="server"></asp:Label>
  31.         </asp:Panel>
  32.     </div>
  33.         <asp:Label ID="Label1" runat="server" Text="A new user was successfully created." Visible="False"></asp:Label>
  34.     </form>
  35. </body>
  36. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top