📄 t_ycy.aspx
字号:
<%@ Page language="c#" Codebehind="t_ycy.aspx.cs" AutoEventWireup="false" Inherits="itcrm.jxcManager.t_ycy" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>t_ycy</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<LINK href="../public/css.css" type="text/css" rel="stylesheet">
<script language="javascript">
function selDialog(who)
{
switch(who)
{
case "optdq":
Form1.txtdq_ID.value=msgBox(who);
break;
case "opthy_ID":
Form1.txthy_ID.value=msgBox(who);
break;
case "optbz_ID":
Form1.txtbz_ID.value=msgBox(who);
break;
default:
alert("错误:选择类型未定义!!!");
}
}
function msgBox(who,strType)
{
var value;
var strURL;
var strWin ="dialogWidth:420px; help:no; dialogHeight:360px;status:no; center:yes; scroll:no";
switch(strType)
{
case "1":
strURL="../Dialog/optGoto.aspx?id='"+who+"'";
break;
case "2":
strURL="../Dialog/temp.aspx";
break;
default:
strURL="../Dialog/optGoto.aspx?id='"+who+"'";
}
if(strURL!="")
{
return window.showModalDialog(strURL,who,strWin);
}
else
{
return -1;
}
}
</script>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="宋体">
<TABLE id="tabMain" cellSpacing="0" cellPadding="2" width="100%" border="1">
<TR>
<TD class="tabTitle" height="25">鱼汞采样基本信息录入 </TD>
</TR>
<TR>
<TD class="tabBody" vAlign="top">
<TABLE id="tabText" cellSpacing="0" cellPadding="2" width="100%" border="0">
<TR>
<TD nowrap>采样编号:</TD>
<TD>
<asp:TextBox id="txtycy_ID" runat="server"></asp:TextBox></TD>
<TD nowrap>地区编号:</TD>
<TD nowrap>
<asp:TextBox id="txtdq_ID" runat="server"></asp:TextBox><INPUT class="btn" id="optdq" onclick="selDialog('optdq');" type="button" value="..."></TD>
</TR>
<TR>
<TD nowrap>地点编号:</TD>
<TD>
<asp:TextBox id="txtPlaceID" runat="server"></asp:TextBox></TD>
<TD>行业编号:</TD>
<TD nowrap>
<asp:TextBox id="txthy_ID" runat="server"></asp:TextBox><INPUT id="opthy_ID" onclick="selDialog('opthy_ID');" type="button" value="..."></TD>
<TR>
<TD nowrap>标准编号:</TD>
<TD nowrap>
<asp:TextBox id="txtbz_ID" runat="server"></asp:TextBox><INPUT id="optbz_ID" onclick="selDialog('optbz_ID');" type="button" value="..."></TD>
<TD nowrap>采样地点:</TD>
<TD>
<asp:TextBox id="txtPlace" runat="server"></asp:TextBox></TD>
</TR>
<TR>
<TD nowrap>采样时间:</TD>
<TD>
<asp:TextBox id="txtTime" runat="server"></asp:TextBox></TD>
<TD nowrap>体重(g):</TD>
<TD>
<asp:TextBox id="txtWeight" runat="server"></asp:TextBox></TD>
</TR>
<TR>
<TD nowrap>鱼名称:</TD>
<TD>
<asp:TextBox id="txtName" runat="server"></asp:TextBox></TD>
<TD nowrap>Se含量:</TD>
<TD>
<asp:TextBox id="txtSe" runat="server"></asp:TextBox></TD>
</TR>
<TR>
<TD nowrap>鱼T-Hg:</TD>
<TD>
<asp:TextBox id="txtThg" runat="server"></asp:TextBox></TD>
<TD nowrap>鱼M-Hg:</TD>
<TD>
<asp:TextBox id="txtMhg" runat="server"></asp:TextBox></TD>
</TR>
<TR>
<TD nowrap>汞含量:</TD>
<TD>
<asp:TextBox id="txtValue" runat="server"></asp:TextBox></TD>
<TD nowrap>含汞范围:</TD>
<TD>
<asp:TextBox id="txtBound" runat="server"></asp:TextBox></TD>
</TR>
<TR>
<TD>备注:</TD>
<TD colSpan="3">
<asp:TextBox id="txtRemark" runat="server" TextMode="MultiLine" Width="100%"></asp:TextBox></TD>
</TR>
<TR>
<TD align="center" colSpan="4">
<asp:button id="btnAdd" runat="server" Text="保 存"></asp:button>
<asp:button id="btnClear" runat="server" Text="清 除"></asp:button>
<asp:Button id="brnReturn" runat="server" Text="返 回"></asp:Button></TD>
</TR>
</TABLE>
<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<TD>
<asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server" ErrorMessage="采样编号必须是3-12位的整数!"
ControlToValidate="txtycy_ID" ValidationExpression="[^`/!@#$%^&amp;',.*]{3,12}"></asp:RegularExpressionValidator>
<asp:RegularExpressionValidator id="RegularExpressionValidator2" runat="server" ErrorMessage="地区编码必须是3-12位整数!" ControlToValidate="txtdq_ID"
ValidationExpression="[^`/!@#$%^&amp;',.*]{3,12}"></asp:RegularExpressionValidator>
<asp:RegularExpressionValidator id="RegularExpressionValidator3" runat="server" ErrorMessage="汞含量必须是1-12位的整数!" ControlToValidate="txtValue"
ValidationExpression="[^`/!@#$%^&amp;',.*]{1,12}"></asp:RegularExpressionValidator>
<asp:RegularExpressionValidator id="RegularExpressionValidator4" runat="server" ErrorMessage="标准编号必须是3-12位整数!" ControlToValidate="txtbz_ID"
ValidationExpression="[^`/!@#$%^&amp;',.*]{3,12}"></asp:RegularExpressionValidator>
<asp:RegularExpressionValidator id="RegularExpressionValidator5" runat="server" ErrorMessage="行业编码必须是3-12位的整数!"
ControlToValidate="txthy_ID" ValidationExpression="[^`/!@#$%^&amp;',.*]{3,12}"></asp:RegularExpressionValidator>
<asp:RegularExpressionValidator id="RegularExpressionValidator6" runat="server" ErrorMessage="地点编码必须是3-12位的整数!"
ControlToValidate="txtPlaceID" ValidationExpression="[^`/!@#$%^&amp;',.*]{3,12}"></asp:RegularExpressionValidator></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</FONT>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -