Advertisement
Guest User

Untitled

a guest
Mar 28th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. <body>
  2. <form id="signinpage" runat="server">
  3.  
  4. <div id="signInPage">
  5. <asp:Label ID="Username" runat="server"
  6. Text="Username" AssociatedControlID="userName" />
  7. <br />
  8. <asp:TextBox ID="userNameTxt" runat="server"
  9. placeholder="@gmail.com" />
  10. <br />
  11. <br />
  12. <asp:Label ID="Password" runat="server"
  13. Text="Password" AssociatedControlID="pwd" />
  14. <br />
  15. <asp:TextBox ID="pwd" runat="server" type="password" />
  16. <br />
  17. <br />
  18. <asp:SqlDataSource
  19. ID="sdsCredential"
  20. ConnectionString="<%$ ConnectionStrings:team06 %>"
  21. SelectCommand="SELECT UserName, Password FROM MattUsers where (UserName=@UserName AND Password=@pwd)"
  22. runat="server">
  23. <SelectParameters>
  24. <asp:ControlParameter ControlID="userNameTxt"
  25. PropertyName="Text" Name="UserName" />
  26. <asp:ControlParameter ControlID="pwd"
  27. PropertyName="Text" Name="pwd" />
  28. </SelectParameters>
  29. </asp:SqlDataSource>
  30. <asp:Button ID="Signin" runat="server" Text="Sign In" OnClick="btnLogin_Clicked"
  31. Style="background-color: #3079ed; color: white; border-radius: 10px; border-color: #3079ed" />
  32. <br />
  33. <asp:Label ID="lblLoginResult" runat="server" /><br />
  34. </div>
  35.  
  36. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement