-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathSignUp.aspx
More file actions
70 lines (61 loc) · 2.48 KB
/
SignUp.aspx
File metadata and controls
70 lines (61 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SignUp.aspx.cs" Inherits="Web_Forms_Demo.WebForm1" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>SignUp form</title>
</head>
<body>
<form id="signupForm" runat="server">
<!-- Username text field -->
<div>
<asp:Label ID="usernameLabel" Text="Username" runat="server"></asp:Label>
<asp:TextBox ID="username" runat="server"></asp:TextBox>
</div>
<!-- Password text field -->
<div>
<asp:Label ID="passwordLabel" Text="Password" runat="server"></asp:Label>
<asp:TextBox ID="password" runat="server"></asp:TextBox>
</div>
<!-- Confirm Password text field -->
<div>
<asp:Label ID="confirmPasswordLabel" Text="Confirm Password" runat="server">
<asp:TextBox ID="confirmPassword" runat="server"></asp:TextBox>
</asp:Label>
</div>
<!-- Gender radio button field -->
<div>
<asp:Label ID="genderLabel" Text="Gender" runat="server"></asp:Label>
<div>
<asp:RadioButton ID="male" runat="server" Text="Male" GroupName="Gender" />
<asp:RadioButton ID="female" runat="server" Text="Female" GroupName="Gender" />
</div>
</div>
<!-- Courses checkbox field -->
<div>
<asp:Label ID="courses" Text="Courses" runat="server"></asp:Label>
<asp:CheckBox ID="c" Text="C" runat="server" />
<asp:CheckBox ID="cpp" Text="C++" runat="server" />
<asp:CheckBox ID="java" Text="Java" runat="server" />
</div>
<!-- Country dropdown field -->
<div>
<asp:Label ID="countryLabel" Text="Country" runat="server"></asp:Label>
<asp:DropDownList ID="country" runat="server">
<asp:ListItem Value="">Select your country</asp:ListItem>
<asp:ListItem>Nepal</asp:ListItem>
<asp:ListItem>India</asp:ListItem>
<asp:ListItem>USA</asp:ListItem>
<asp:ListItem>UK</asp:ListItem>
</asp:DropDownList>
</div>
<!-- Submit button -->
<div>
<asp:Button ID="submit" Text="Submit" runat="server" OnClick="SignUp" />
</div>
<!-- Result content -->
<div>
<asp:TextBox ID="result" runat="server"></asp:TextBox>
</div>
</form>
</body>
</html>