⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 search_yewu.asp

📁 业务管理系统 业务管理系统 业务管理系统 业务管理系统 业务管理系统 业务管理系统 业务管理系统
💻 ASP
字号:
<%
if request.cookies("flag")=""  then
response.write "<script>top.location.href=""login.asp"";</script>" 
response.end
end if
%>
<%
dim searchname
searchname=request.form("search")
%>
<!--#include file="dbconn.asp"-->
<html>
<head>
<title>Untitled Document</title>
<LINK href="css/style.css" type=text/css rel=stylesheet>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<p align="center">&nbsp; </p><form name="form1" method="post" action="search_yewu.asp"> 
<div align="center"><font color="#808080" style="font-size: 9pt"><font color="#000000">搜索:</font> 
<input name="search" size="30" style="border: 1 solid #808080"> </font> <SELECT NAME="select"></SELECT><input type="submit" name="Submit" value="搜索"> 
</div></form><p align="center">&nbsp;</p><p> <%
set rs=server.createobject("ADODB.recordset") 
'sql="select * from caiwu order by id desc"
sql="select * from caiwu where ([企业名称] like '%"&searchname&"%') or ([项目] like '%"&searchname&"%') or([具体内容] like '%"&searchname&"%') or([经办人1] like '%"&searchname&"%') or([经办人2] like '%"&searchname&"%')  "
rs.open sql,conn,1,1
%> </p><table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="1246" id="AutoNumber1"> 
<tr bgcolor="#CCCCCC"> <td width="42" height="28"> <div align="center"><b>编号</b></div></td><td width="65" height="28"> 
<div align="center"><b>合同号</b></div></td><td width="234" height="28"> <div align="center"><b>企业名称</b></div></td><td width="59" height="28"> 
<div align="center"><b><font color="#000000">经办人</font></b></div></td><td width="136" height="28"> 
<div align="center"><b>业务分类</b></div></td><td width="254" height="28"> <div align="center"><b>具体内容</b></div></td><td width="58" height="28"> 
<div align="center"><b>开始日期</b></div></td><td width="58" height="28"> <div align="center"><b>到期日期</b></div></td><td width="58" height="28"> 
<div align="center"><b>实收金额</b></div></td><td width="59" height="28"> <div align="center"><b>成本支出</b></div></td><td width="59" height="28"> 
<div align="center"><b>经办人1</b></div></td><td width="59" height="28"> <div align="center"><b>经办人2</b></div></td><td width="91" height="28"> 
<div align="center"><b>备注</b></div></td></tr> <%do while not rs.eof%> <tr> <td width="42" height="32"> 
<div align="center"><font color="#0000FF"><b><font face="Arial, Helvetica, sans-serif"><%=rs("id")%></font></b></font></div></td><td width="65" height="32"> 
<div align="center"><%=rs("合同编号")%></div></td><td width="234" height="32"> <div align="left"> <a href="list.asp?company=<%=rs("企业名称")%>"><%=rs("企业名称")%></a></div></td><td width="59" height="32"> 
<div align="center"><%=rs("企业经办人")%></div></td><td width="136" height="32"> <div align="center"><%=rs("项目")%></div></td><td width="254" height="32"> 
<div align="left"> <%=rs("具体内容")%></div></td><td width="58" height="32"> <div align="center"><%=rs("开始日期")%></div></td><td width="58" height="32"> 
<div align="center"><%=rs("到期日期")%></div></td><td width="58" height="32"> <div align="center"><%=rs("实收金额")%></div></td><td width="59" height="32"> 
<div align="center"><%=rs("成本支出")%></div></td><td width="59" height="32"> <div align="center"><%=rs("经办人1")%></div></td><td width="59" height="32"> 
<div align="center"><%=rs("经办人2")%></div></td><td width="91" height="32"> <div align="center"><%=rs("memo")%></div></td></tr> 
<% 
	rs.movenext  
	loop 
  %> <%rs.close 
    set rs=nothing
  %> </table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -