Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <body>
- <form id="signinpage" runat="server">
- <div id="signInPage">
- <asp:Label ID="Username" runat="server"
- Text="Username" AssociatedControlID="userName" />
- <br />
- <asp:TextBox ID="userNameTxt" runat="server"
- placeholder="@gmail.com" />
- <br />
- <br />
- <asp:Label ID="Password" runat="server"
- Text="Password" AssociatedControlID="pwd" />
- <br />
- <asp:TextBox ID="pwd" runat="server" type="password" />
- <br />
- <br />
- <asp:SqlDataSource
- ID="sdsCredential"
- ConnectionString="<%$ ConnectionStrings:team06 %>"
- SelectCommand="SELECT UserName, Password FROM MattUsers where (UserName=@UserName AND Password=@pwd)"
- runat="server">
- <SelectParameters>
- <asp:ControlParameter ControlID="userNameTxt"
- PropertyName="Text" Name="UserName" />
- <asp:ControlParameter ControlID="pwd"
- PropertyName="Text" Name="pwd" />
- </SelectParameters>
- </asp:SqlDataSource>
- <asp:Button ID="Signin" runat="server" Text="Sign In" OnClick="btnLogin_Clicked"
- Style="background-color: #3079ed; color: white; border-radius: 10px; border-color: #3079ed" />
- <br />
- <asp:Label ID="lblLoginResult" runat="server" /><br />
- </div>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement