📄 hyeditconfirm.asp
字号:
<!-- #include file="include/adovbs.inc" -->
<!-- #include file="include/dataconn.asp" -->
<!-- #include file="include/checksession.asp" -->
<%id=Request("id")
pageno=trim(Request("pageno"))
findcontent=trim(request("findcontent"))
set HyRs=server.CreateObject("adodb.recordset")
sql = "select * from hy where id =" & cint(id)
HyRs.Open sql,conn
%>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<link rel="stylesheet" href="include/e1.css" type="text/css">
</HEAD>
<script language="javascript">
function check()
{
if(form1.HyNumber.value=="")
{
alert("至少需要输入会员编号!");
document.form1.HyNumber.focus();
return false;
}
else
{
return true;
document.form1.submit();
}
}
</script>
<BODY>
<form name="form1" method="post" action="hyeditConfirmcheck.asp?id=<% =id%>&findcontent=<% =findcontent%>&pageno=<% =pageno%>" onsubmit="return check();" ID="Form1">
<table width="90%" border="0" cellpadding="0" cellspacing="0" ID="Table1">
<tr>
<td width="100%" height="46"> <div align="center"><strong><font color="#FF0000" size="3">
会 员 确 认</font></strong></div></td>
</tr>
</table>
<table width="90%" border="1" cellspacing="0" cellpadding="0" bordercolordark="#162d6b" bordercolorlight="#f0f4ff" ID="Table2">
<tr>
<td width="21%" height="30"><div align="right">姓名:</div></td>
<td width="65%"> <% =HyRs("HyName")%></td>
</tr>
<tr>
<td height="30"><div align="right">会员编号:</div></td>
<td> <input type="text" name="HyNumber" size="30" ></td>
</tr>
<tr>
<td height="30"><div align="right">密码:</div></td>
<td> <input type="text" name="HyPassword" size="30" ></td>
</tr>
<tr>
<td height="30"><div align="right">辅导主管编号:</div></td>
<td> <input type="text" name="HyParentNumber" size="30" value="<% =HyRs("HyParentNumber")%>"></td>
</tr>
<tr>
<td height="30"><div align="right"> 位置:</div></td>
<td> <select name="place">
<option value="左边" <%if HyRs("HyLocation")="左边" then%>selected<%end if%>>左边</option>
<option value="右边" <%if HyRs("HyLocation")="右边" then%>selected<%end if%>>右边</option>
</select></td>
</tr>
</table>
<P align="center">
<input type="submit" name="Submit" value="确 定" ID="Submit1">
<input type="reset" name="Submit2" value="取 消" ID="Reset1">
</P>
</form>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -