📄 companyreg.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CompanyReg.aspx.cs" Inherits="CompanyReg" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Company Registration Page</title>
</head>
<body>
<form id="form1" runat="server">
<div align="justify" style="z-index: 100; left: 211px; width: 745px; position: absolute;
top: 5px; height: 888px">
<table style="z-index: 100; left: 24px; width: 588px; position: absolute; top: 287px;
height: 515px">
<tr>
<td colspan="2" style="height: 82px; width: 626px; text-align: left;">
<span style="font-size: 14pt; color: #8b0000"><strong>Company's Registration
form<br />
<br />
</strong></span>
<span style="font-size: 14pt; font-family: Times New Roman">
<strong><span style="font-size: 12pt">Please fill the form to
register in order to search for CVs:
</span></strong></span></td>
</tr>
<tr>
<td style="width: 626px; height: 150px" colspan="2">
<div>
<span style="font-size: 24pt"><span style="font-family: Times New Roman"><span style="color: #0000cc">
<span><span style="font-size: 12pt">
<br />
<br />
<br />
<br />
</span>
</span></span><span><span
style="color: #0000cc; font-size: 12pt;">
<br />
<br />
</span><span style="font-size: 12pt"><span style="color: #0000cc">
</span>
<br />
<br />
<span style="color: #0000cc"></span>
</span>
</span>
<br />
<br />
<span style="font-size: 12pt">
<table style="z-index: 100; left: 13px; color: #000000; position: absolute; top: 97px">
<tr>
<td style="width: 150px; height: 39px">
Username:</td>
<td align="left" style="width: 389px; height: 39px">
<asp:TextBox ID="TextBox1" runat="server" OnTextChanged="TextBox1_TextChanged" Style="z-index: 100;
left: 160px; position: absolute; top: 11px" Width="240px"></asp:TextBox>
</td>
<td align="center" style="width: 167px; height: 39px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
ErrorMessage="Required Field" Style="z-index: 100; left: 527px; position: absolute;
top: 12px" Width="92px"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 150px; height: 35px">
Password:</td>
<td align="left" style="width: 389px; height: 35px">
<asp:TextBox ID="TextBox2" runat="server" OnTextChanged="TextBox1_TextChanged" Style="z-index: 100;
left: 160px; position: absolute; top: 52px" TextMode="Password" Width="240px"></asp:TextBox>
</td>
<td align="center" style="width: 167px; height: 35px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
ErrorMessage="Required Field" Style="z-index: 100; left: 528px; position: absolute;
top: 53px" Width="91px"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 150px; height: 49px">
Confirm password:</td>
<td align="left" style="width: 389px; height: 49px">
<asp:TextBox ID="TextBox3" runat="server" OnTextChanged="TextBox3_TextChanged" Style="z-index: 100;
left: 162px; position: absolute; top: 96px" TextMode="Password" Width="240px"></asp:TextBox>
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox2"
ControlToValidate="TextBox3" ErrorMessage='"Password" and "confirm password" are not matching..'
Font-Size="12pt" ForeColor="DarkRed" Style="z-index: 102; left: 161px; position: absolute;
top: 118px" Width="329px"></asp:CompareValidator>
</td>
<td align="center" style="width: 167px; height: 49px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox3"
ErrorMessage="Required Field" Style="z-index: 100; left: 526px; position: absolute;
top: 97px" Width="89px"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 150px; height: 36px">
Telephone #:</td>
<td align="left" style="width: 389px; height: 36px">
<asp:TextBox ID="TextBox4" runat="server" Height="18px" OnTextChanged="TextBox4_TextChanged"
Style="z-index: 100; left: 162px; position: absolute; top: 144px" Width="242px"></asp:TextBox>
</td>
<td align="center" style="width: 167px; height: 36px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox4"
ErrorMessage="Required Field" Style="z-index: 100; left: 529px; position: absolute;
top: 144px" Width="91px"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 150px; height: 52px">
Email address:</td>
<td align="left" style="width: 389px; height: 52px">
<asp:TextBox ID="TextBox5" runat="server" Height="16px" OnTextChanged="TextBox4_TextChanged"
Style="z-index: 100; left: 161px; position: absolute; top: 191px" Width="242px"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox5"
ErrorMessage="Input valid email address" ForeColor="DarkRed" Style="z-index: 102;
left: 162px; position: absolute; top: 212px" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
Width="241px"></asp:RegularExpressionValidator>
</td>
<td align="center" style="width: 167px; height: 52px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBox5"
ErrorMessage="Required Field" Style="z-index: 100; left: 528px; position: absolute;
top: 191px" Width="93px"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 150px; height: 93px">
Company's activities:<br />
<span style="font-size: 0.8em">MAX Char(240)</span></td>
<td align="left" style="width: 389px; height: 93px">
<asp:TextBox ID="TextBox6" runat="server" Height="73px" OnTextChanged="TextBox6_TextChanged"
Style="z-index: 100; left: 161px; position: absolute; top: 241px" TextMode="MultiLine"
Width="240px"></asp:TextBox>
</td>
<td align="center" style="width: 167px; height: 93px">
</td>
</tr>
<tr>
<td style="width: 150px; height: 40px">
<span style="color: #0000cc"></span>
</td>
<td align="left" style="width: 389px; height: 40px">
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Style="z-index: 100;
left: 166px; position: absolute; top: 338px" Text="Submit" />
</td>
<td align="center" style="width: 167px; height: 40px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TextBox6"
ErrorMessage="Required Field" Style="z-index: 100; left: 528px; position: absolute;
top: 243px" Width="89px"></asp:RequiredFieldValidator>
</td>
</tr>
</table>
</span><span style="font-size: 12pt">
<br />
<br />
</span><span style="font-size: 12pt"></span><span style="font-size: 12pt"></span>
<span style="font-size: 12pt">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionStringUser %>"
SelectCommand="SELECT * FROM [Company]"></asp:SqlDataSource>
</span>
</span></span>
</div>
</td>
</tr>
</table>
<img src="22.jpg" style="z-index: 101; left: 60px; position: absolute; top: 0px" />
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -