?? user_edit.aspx
字號:
<%@ Page Language="C#" AutoEventWireup="true" Inherits="User_edit" Codebehind="User_edit.aspx.cs" %>
<%@ Register Src="left1.ascx" TagName="left1" TagPrefix="uc4" %>
<%@ Register Src="validate.ascx" TagName="validate" TagPrefix="uc3" %>
<%@ Register Src="head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="foot.ascx" TagName="foot" TagPrefix="uc2" %>
<!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 id="Head1" runat="server">
<title>發布貨源信息</title>
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link href="css/css.css" rel="stylesheet" type="text/css" />
</head>
<body style="margin-top:0px; margin-bottom: 0px;">
<TABLE WIDTH=770 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0>
<form id="form1" runat="server">
<TR align="center" >
<TD WIDTH=770 height="38" COLSPAN=3 class="css" valign="top">
<uc1:head ID="Head2" runat="server" />
</TD>
</TR>
<TR>
<TD ROWSPAN=2 valign=top style="background-image: url(images/default_3.gif); width: 200px;">
<uc4:left1 ID="Left1_1" runat="server" />
</TD>
<TD COLSPAN=2 style="height: 3px">
<asp:Image ID="Image1" runat="server" ImageUrl="images/default_4.gif" /></TD>
</TR>
<TR>
<TD COLSPAN=2 valign="top" style="width:571px;height: 635px">
<br />
<table border="1" align="center" cellspacing="0" class="css" style="width: 457px; height: 491px" bordercolor="#adbdce">
<tr align="center">
<td height="40" colspan="2">
會員注冊</td>
</tr>
<tr>
<td align="right" style="width: 115px; height: 29px">
用戶名:</td>
<td style="width: 336px" > <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label><span style="height: 29px; color: #ff0066;"></span></td>
</tr>
<tr>
<td align="right" style="width: 115px; height: 28px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Userpwd"
ErrorMessage="密碼不能為空">*</asp:RequiredFieldValidator>
密碼:</td>
<td style="height: 28px; width: 336px;"> <asp:TextBox ID="Userpwd" runat="server" MaxLength="20"
Width="150px"></asp:TextBox></td>
</tr>
<tr>
<td align="right" style="width: 115px; height: 29px;">
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="CompanyName"
ErrorMessage="公司名稱不能為空">*</asp:RequiredFieldValidator> 公司名稱:</td>
<td rowspan="" style="height: 29px; width: 336px;"> <asp:TextBox ID="CompanyName" runat="server" MaxLength="50" Width="253px"></asp:TextBox></td>
</tr>
<tr>
<td align="right" style="width: 115px; height: 28px;">
用戶類型:</td>
<td style="height: 28px; width: 336px;"> <asp:DropDownList ID="UserType" runat="server">
<asp:ListItem>貨主</asp:ListItem>
<asp:ListItem>車主</asp:ListItem>
<asp:ListItem>物流企業</asp:ListItem>
</asp:DropDownList><span style="height: 29px; color: #ff0066;"></span></td>
</tr>
<tr>
<td align="right" style="width: 115px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="Linkman"
ErrorMessage="聯系人不能為空">*</asp:RequiredFieldValidator>聯系人:</td>
<td style="width: 336px"> <asp:TextBox ID="Linkman" runat="server" Width="80px"></asp:TextBox><span style="height: 29px; color: #ff0066;"></span></td>
</tr>
<tr>
<td align="right" style="width: 115px">
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="Tel"
ErrorMessage="聯系電話格式填寫錯誤" ValidationExpression="(\d{3}-\d{8})|(\d{4}-\d{7})">*</asp:RegularExpressionValidator>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="Tel"
Display="Dynamic" ErrorMessage="聯系電話不能為空">*</asp:RequiredFieldValidator>聯系電話:</td>
<td colspan="" style="width: 336px"> <asp:TextBox ID="Tel" runat="server" Width="150px"></asp:TextBox><span style="height: 29px; color: #ff0066;"></span></td>
</tr>
<tr>
<td align="right" style="width: 115px; height: 25px;">
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="MobileTelephone"
Display="Dynamic" ErrorMessage="手機號碼格式填寫錯誤" ValidationExpression="\d{11}">*</asp:RegularExpressionValidator>
<asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="MobileTelephone"
Display="Dynamic" ErrorMessage="手機號碼不能為空">*</asp:RequiredFieldValidator>
手機:</td>
<td style="height: 25px; width: 336px;"> <asp:TextBox ID="MobileTelephone" runat="server"></asp:TextBox><span style="height: 29px; color: #ff0066;"></span></td>
</tr>
<tr>
<td align="right" style="width: 115px; height: 32px">
<asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" Display="Dynamic"
ErrorMessage="Email格式填寫錯誤" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="Email">*</asp:RegularExpressionValidator>
<asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="Email"
Display="Dynamic" ErrorMessage="Email不能為空">*</asp:RequiredFieldValidator>Email:</td>
<td style="height: 32px; width: 336px;"> <asp:TextBox ID="Email" runat="server"></asp:TextBox>
</tr>
<tr>
<td align="right" style="width: 115px; height: 32px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="Address"
ErrorMessage="聯系地址不能為空">*</asp:RequiredFieldValidator>聯系地址:</td>
<td style="height: 32px; width: 336px;"> <asp:TextBox ID="Address" runat="server" Width="250px"></asp:TextBox>
</tr>
<tr>
<td align="right" style="width: 115px; height: 32px">
<asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="Postalcode"
ErrorMessage="郵政編碼格式填寫錯誤" ValidationExpression="\d{6}">*</asp:RegularExpressionValidator>
<asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="Postalcode"
Display="Dynamic" ErrorMessage="郵政編碼不能為空">*</asp:RequiredFieldValidator>郵政編碼:</td>
<td style="height: 32px; width: 336px;"> <asp:TextBox ID="Postalcode" runat="server"></asp:TextBox>
</tr>
<tr>
<td align="right" style="width: 115px; height: 32px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="Problem"
Display="Dynamic" ErrorMessage="提示問題不能為空">*</asp:RequiredFieldValidator>提示問題:</td>
<td style="height: 32px; width: 336px;"> <asp:TextBox ID="Problem" runat="server"></asp:TextBox>
(取回密碼時使用,請牢記)</tr>
<tr>
<td align="right" style="width: 115px; height: 32px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="Answer"
Display="Dynamic" ErrorMessage="答案不能為空">*</asp:RequiredFieldValidator>問題答案:</td>
<td style="height: 32px; width: 336px;"> <asp:TextBox ID="Answer" runat="server"></asp:TextBox>
(取回密碼時使用,請牢記)</tr>
<tr>
<td align="right" style="width: 115px; height: 89px">備注:</td>
<td style="height: 89px; width: 336px;"> <asp:TextBox ID="Bewrite" runat="server" Height="69px" TextMode="MultiLine"
Width="315px" >無</asp:TextBox></td>
</tr>
<tr>
<td colspan="2" align="center"> <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text=" 發布 " />
<input id="Button2" type="reset" value=" 重置 " />
<asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
ShowSummary="False" />
<br />
</td>
</tr>
</table>
</TD>
</TR>
<TR>
<TD COLSPAN=3 style="height: 45px">
<uc2:foot ID="Foot1" runat="server" />
</TD>
</TR>
</form>
</TABLE>
<uc3:validate ID="Validate1" runat="server" />
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -