Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="Register" Title="Untitled Page" %>
- <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
- </asp:Content>
- <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
- <div id="title">
- <h1>Register</h1>
- <h2>Join to our community</h2>
- </div>
- <div id="content2">
- <form id="form1" runat="server" method="post">
- <p>
- Here is our awesome registration page. It is pretty awesome. Enjoy.
- </p>
- <table>
- <tr>
- <td>
- <a>Username:</a>
- </td>
- <td>
- <input type="text" id="username" name="username" />
- </td>
- </tr>
- <tr>
- <td>
- <a>Password:</a>
- </td>
- <td>
- <input type="password" id="password" name="password" />
- </td>
- </tr>
- <tr>
- <td>
- <a>Repeat Password:</a>
- </td>
- <td>
- <input type="password" id="password-repeat" name="password-repeat" />
- </td>
- </tr>
- <tr>
- <td>
- <a>First Name:</a>
- </td>
- <td>
- <input type="text" id="firstname" name="firstname" />
- </td>
- </tr>
- <tr>
- <td>
- <a>Last Name:</a>
- </td>
- <td>
- <input type="text" id="lastname" name="lastname" />
- </td>
- </tr>
- <tr>
- <td>
- <a>E-Mail:</a>
- </td>
- <td>
- <input type="text" id="email" name="email" />
- </td>
- </tr>
- <tr>
- <td>
- <a>Age:</a>
- </td>
- <td>
- <select name="age">
- <option value="0">
- 0-9
- </option>
- <option value="10">
- 10-19
- </option>
- <option value="20">
- 20-29
- </option>
- <option value="30">
- 30-39
- </option>
- <option value="40">
- 40-49
- </option>
- <option value="50">
- 50-59
- </option>
- <option value="60">
- 60-69
- </option>
- <option value="70">
- 70-79
- </option>
- <option value="80">
- 80-89
- </option>
- <option value="90">
- 90-99
- </option>
- <option value="100">
- 100-109
- </option>
- <option value="110">
- 110-119
- </option>
- </select>
- </td>
- </tr>
- <tr>
- <td>
- <a>City:</a>
- </td>
- <td>
- <input type="text" id="city" name="city" />
- </td>
- </tr>
- <tr>
- <td>
- <a>Gender:</a>
- </td>
- <td>
- <a>Male: </a><input type="radio" id="genderMale" name="gender" value="male"/>
- <a>Female: </a><input type="radio" id="genderFemale" name="gender" value="female"/>
- </td>
- </tr>
- <tr>
- <td id="submit_button" colspan="2">
- <input type="submit" id="submit" name="submit" value="Submit" />
- </td>
- </tr>
- </table>
- </form>
- <% =msg %>
- </div>
- </asp:Content>
Add Comment
Please, Sign In to add comment