-
Notifications
You must be signed in to change notification settings - Fork 1
/
OldReg.aspx
130 lines (126 loc) · 8 KB
/
OldReg.aspx
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<%--Copyright (c) Nishit Tated. All Rights Reserved.
project name: College Alumni System
This project is licensed under the MIT license, see LICENSE.--%>
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OldReg.aspx.cs" Inherits="victorypro_OldReg" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
Alumni Registration<br />
<br />
Name:
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" ErrorMessage="Please Enter your Name"></asp:RequiredFieldValidator>
<br />
<br />
Address:
<asp:TextBox ID="TextBox2" runat="server" TextMode="MultiLine"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2" ErrorMessage="Required Field"></asp:RequiredFieldValidator>
<br />
<br />
Register No:
<asp:TextBox ID="TextBox3" runat="server" TextMode="Number"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox3" ErrorMessage="Enter your registration no."></asp:RequiredFieldValidator>
<br />
<br />
Joining Date:
<asp:TextBox ID="TextBox4" runat="server" TextMode="Date"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox4" ErrorMessage="Mention your date of joining"></asp:RequiredFieldValidator>
<br />
<br />
UserName:
<asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBox5" ErrorMessage="Proper username required"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox5" ErrorMessage="It must be between 5-15 characters only & only aplha-num value allowed" ValidationExpression="^[a-zA-Z0-9]{5,15}$"></asp:RegularExpressionValidator>
<br />
<br />
Password:
<asp:TextBox ID="TextBox6" runat="server" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TextBox6" ErrorMessage="Please input your password."></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBox6" ErrorMessage="It must be between 8-18 characters" ValidationExpression="^[a-zA-Z0-9]{8,18}$"></asp:RegularExpressionValidator>
<br />
<br />
Confirm Password:
<asp:TextBox ID="TextBox7" runat="server" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="TextBox7" ErrorMessage="This field cant be blank"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox6" ControlToValidate="TextBox7" ErrorMessage="Password must be match"></asp:CompareValidator>
<br />
<br />
Email ID:
<asp:TextBox ID="TextBox8" runat="server" TextMode="Email"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="TextBox8" ErrorMessage="Enter your appropriate email-id"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="TextBox8" ErrorMessage="Email should have @ symbol" ValidationExpression="^[a-zA-Z0-9'@&#.\s]{7,20}$"></asp:RegularExpressionValidator>
<br />
<br />
Date of Birth:
<asp:TextBox ID="TextBox9" runat="server" TextMode="Date"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="TextBox9" ErrorMessage="Input your Date Of Birth"></asp:RequiredFieldValidator>
<br />
<br />
Contact No:
<asp:TextBox ID="TextBox10" runat="server" TextMode="Number"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="TextBox10" ErrorMessage="Required field"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="TextBox10" ErrorMessage="Number should be followed with 10 digits only" ValidationExpression="^[0-9]{10}$"></asp:RegularExpressionValidator>
<br />
<br />
Gender:
<asp:RadioButtonList ID="RadioButtonList1" runat="server">
<asp:ListItem>Male</asp:ListItem>
<asp:ListItem>Female</asp:ListItem>
</asp:RadioButtonList>
<br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="RadioButtonList1" ErrorMessage="Please select it"></asp:RequiredFieldValidator>
<br />
<br />
Qualification:
<asp:TextBox ID="TextBox11" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="TextBox11" ErrorMessage="This field cant be blank"></asp:RequiredFieldValidator>
<br />
<br />
Works At:
<asp:TextBox ID="TextBox12" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="TextBox12" ErrorMessage="Enter your present work's place"></asp:RequiredFieldValidator>
<br />
<br />
Designation:
<asp:TextBox ID="TextBox13" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="TextBox13" ErrorMessage="Present Designation..."></asp:RequiredFieldValidator>
<br />
<br />
Upload Photo:
<asp:FileUpload ID="FileUpload1" runat="server" />
<asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" ControlToValidate="FileUpload1" ErrorMessage="Upload your latest photo"></asp:RequiredFieldValidator>
<br />
<br />
<asp:Button ID="Button1" runat="server" Text="Register" OnClick="Button8_Click"/>
<br />
<br />
</div>
</form>
</body>
</html>