Guest User

Untitled

a guest
Jun 24th, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.44 KB | None | 0 0
  1. <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="Register" Title="Untitled Page" %>
  2.  
  3. <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
  4. </asp:Content>
  5. <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  6. <div id="title">
  7. <h1>Register</h1>
  8. <h2>Join to our community</h2>
  9. </div>
  10. <div id="content2">
  11. <form id="form1" runat="server" method="post">
  12. <p>
  13. Here is our awesome registration page. It is pretty awesome. Enjoy.
  14. </p>
  15. <table>
  16. <tr>
  17. <td>
  18. <a>Username:</a>
  19. </td>
  20. <td>
  21. <input type="text" id="username" name="username" />
  22. </td>
  23. </tr>
  24. <tr>
  25. <td>
  26. <a>Password:</a>
  27. </td>
  28. <td>
  29. <input type="password" id="password" name="password" />
  30. </td>
  31. </tr>
  32. <tr>
  33. <td>
  34. <a>Repeat Password:</a>
  35. </td>
  36. <td>
  37. <input type="password" id="password-repeat" name="password-repeat" />
  38. </td>
  39. </tr>
  40. <tr>
  41. <td>
  42. <a>First Name:</a>
  43. </td>
  44. <td>
  45. <input type="text" id="firstname" name="firstname" />
  46. </td>
  47. </tr>
  48. <tr>
  49. <td>
  50. <a>Last Name:</a>
  51. </td>
  52. <td>
  53. <input type="text" id="lastname" name="lastname" />
  54. </td>
  55. </tr>
  56. <tr>
  57. <td>
  58. <a>E-Mail:</a>
  59. </td>
  60. <td>
  61. <input type="text" id="email" name="email" />
  62. </td>
  63. </tr>
  64. <tr>
  65. <td>
  66. <a>Age:</a>
  67. </td>
  68. <td>
  69. <select name="age">
  70. <option value="0">
  71. 0-9
  72. </option>
  73. <option value="10">
  74. 10-19
  75. </option>
  76. <option value="20">
  77. 20-29
  78. </option>
  79. <option value="30">
  80. 30-39
  81. </option>
  82. <option value="40">
  83. 40-49
  84. </option>
  85. <option value="50">
  86. 50-59
  87. </option>
  88. <option value="60">
  89. 60-69
  90. </option>
  91. <option value="70">
  92. 70-79
  93. </option>
  94. <option value="80">
  95. 80-89
  96. </option>
  97. <option value="90">
  98. 90-99
  99. </option>
  100. <option value="100">
  101. 100-109
  102. </option>
  103. <option value="110">
  104. 110-119
  105. </option>
  106. </select>
  107. </td>
  108. </tr>
  109. <tr>
  110. <td>
  111. <a>City:</a>
  112. </td>
  113. <td>
  114. <input type="text" id="city" name="city" />
  115. </td>
  116. </tr>
  117. <tr>
  118. <td>
  119. <a>Gender:</a>
  120. </td>
  121. <td>
  122. <a>Male: </a><input type="radio" id="genderMale" name="gender" value="male"/>
  123. <a>Female: </a><input type="radio" id="genderFemale" name="gender" value="female"/>
  124. </td>
  125. </tr>
  126. <tr>
  127. <td id="submit_button" colspan="2">
  128. <input type="submit" id="submit" name="submit" value="Submit" />
  129. </td>
  130. </tr>
  131. </table>
  132. </form>
  133. <% =msg %>
  134. </div>
  135. </asp:Content>
Add Comment
Please, Sign In to add comment