📄 addfix.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="addfix.aspx.cs" Inherits="admin_Default2" %>
<!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>
<script language="JavaScript">
<!--#INCLUDE VIRTUAL="Calendar.js"-->
</script>
<LINK href="image/style.css" type=text/css rel=stylesheet>
</head>
<body>
<form id="form1" runat="server">
<TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#c4d8ed border=0>
<TBODY>
<TR>
<TD style="height: 27px"><IMG alt="" src="image/r_1.gif"></TD>
<TD width="100%" background=image/r_0.gif style="height: 5px"></TD>
<TD style="height: 27px"><IMG alt="" src="image/r_2.gif"></TD></TR>
<TR>
<TD></TD>
<TD>
<table class="toptable grid" cellspacing=1 cellpadding=1 align=center
border=1>
<tbody>
<tr>
<td class=category colspan="2"> 添加小区设备</td>
</tr>
<tr>
<td align="right" colspan="1" style="height: 28px" width="25%">
设备编号:</td>
<td colspan="1" style="height: 28px">
<asp:TextBox ID="txtfixCode" runat="server" Enabled="False" ForeColor="Red"></asp:TextBox></td>
</tr>
<tr>
<td colspan="1" width="25%" style="height: 28px" align="right">
<strong><span style="color: #003373; background-color: #ffffff">设备名称:</span></strong></td>
<td colspan="1" style="height: 28px">
<asp:TextBox ID="name" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="name"
Display="Dynamic" ErrorMessage="设备名称不为空"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td colspan="1" align="right" style="height: 28px">
设备数量:</td>
<td colspan="1" style="height: 28px">
<asp:TextBox ID="amount" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="amount"
ErrorMessage=" 请输入数量"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="amount"
ErrorMessage="请输入正确的数字" ValidationExpression="^[1-9]\d*$"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td align="right" colspan="1" style="height: 23px">
生产厂家:</td>
<td colspan="1" style="height: 23px">
<asp:TextBox ID="factory" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="factory"
ErrorMessage="厂家不为空"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td colspan="1" style="height: 28px" align="right">
出厂日期:</td>
<td colspan="1" style="height: 28px">
<asp:TextBox ID="logoutdate" runat="server" onfocus="new Calendar().show(this);"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="logoutdate"
Display="Dynamic" ErrorMessage="日期不为空"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="CompareValidator2" runat="server" ControlToValidate="logoutdate"
Display="Dynamic" ErrorMessage="请输入正确的日期格式" Operator="DataTypeCheck" SetFocusOnError="True"
Type="Date" ValueToCompare="2008-3-15"></asp:CompareValidator>格式:2008-3-15</td>
</tr>
<tr>
<td align="right" colspan="1" style="height: 23px">
</td>
<td colspan="1" style="height: 23px">
<asp:Button ID="Button1" runat="server" Text="添加" Width="60px" OnClick="Button1_Click" />
<asp:Button ID="Button2" runat="server" Text="取消" Width="68px" /></td>
</tr>
</tbody>
</table>
</TD>
<TD></TD></TR>
<TR>
<TD><IMG alt="" src="image/r_4.gif"></TD>
<TD></TD>
<TD><IMG alt=""
src="image/r_3.gif"></TD></TR></TBODY></TABLE>
</form>
</BODY>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -