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

📄 frm_kncsbb.asp

📁 一套石油公司内部的运营管理系统
💻 ASP
字号:
<!--#include virtual="/include/DBCon.inc"-->
<html>
<head>
 
<title>油田采油工艺综合管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="/css/oil.css" type="text/css">
<SCRIPT LANGUAGE=javascript>
<!--
function	subcheck(act) {
	if (act==0)
		form1.action="frm_kncsbb_remove.asp";
	else
		form1.action="frm_kncsbb_modify.asp";
	form1.submit();
}

function wtCh() {
	form1.action="";
	form1.submit();
}
-->
</SCRIPT>

</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><br>
	<%
	sdate=cdate(request("year") & "-1-1")
	syear=request("year")
	Set Rs = Server.CreateObject("ADODB.RecordSet")
	dim kncsbb(),kncsbbCount
	kncsbbCount=0
	SQL="select * from oil.oil_kncs,oil.oil_well,oil.oil_dict where kncs_year='" &syear& "' and kncs_well_id=well_id and well_area=dict_code and dict_type='area'"
	rs.open SQL,conn,1,1
	do while not rs.eof
		kncsbbCount=kncsbbCount+1
		redim preserve kncsbb(kncsbbCount)
		kncsbb(kncsbbCount-1)=""
		kncsbb(kncsbbCount-1)=kncsbb(kncsbbCount-1)& "@" & rs("kncs_id") 
		kncsbb(kncsbbCount-1)=kncsbb(kncsbbCount-1)& "@" & rs("kncs_well_id")
		kncsbb(kncsbbCount-1)=kncsbb(kncsbbCount-1)& "@" & rs("dict_value")
		kncsbb(kncsbbCount-1)=kncsbb(kncsbbCount-1)& "@" & rs("kncs_csnr")
		kncsbb(kncsbbCount-1)=kncsbb(kncsbbCount-1)& "@" & rs("kncs_csrq")
		kncsbb(kncsbbCount-1)=kncsbb(kncsbbCount-1)& "@" & rs("kncs_ycyl")
		kncsbb(kncsbbCount-1)=kncsbb(kncsbbCount-1)& "@" & rs("kncs_dnlz")
		kncsbb(kncsbbCount-1)=kncsbb(kncsbbCount-1)& "@" & rs("kncs_zlz")
		kncsbb(kncsbbCount-1)=kncsbb(kncsbbCount-1)& "@" & rs("kncs_memo")
		kncsbb(kncsbbCount-1)=kncsbb(kncsbbCount-1)& "@" & rs("kncs_year")
		rs.movenext
	loop
	rs.close
	%>
	<span class="subject">
		<%=syear%>年度的跨年措施井效果统计报表
	</span> 
	<hr size="1" class=hr width="98%" align="center">
	<br>
	<form action="" method=post name=form1>
	<table border="1" cellpadding="1" cellspacing="0" align="center" class="table2" 
	  bordercolor="#000000" bordercolordark="#F8EDEB" width=800>
	  <tr height="20">
	   <td class="title" align=center width=60>井号</td>
	   <td class="title" align=center width=60>作业区</td>
	   <td class="title" align=center width=60>措施内容</td>
	   <td class="title" align=center width=60>月产油量</td>
	   <td class="title" align=center width=60>月增油量 </td>
	   <td class="title" align=center width=60>当年累增</td>
	   <td class="title" align=center width=60>累增</td>
	   <td class="title" align=center width=120>备注</td>
	  </tr> 
	  <%for i=0 to kncsbbCount-1%>
	  <tr height="20" align=center>
	   <td>&nbsp<%=split(kncsbb(i),"@")(2)%></td>
	   <td>&nbsp<%=split(kncsbb(i),"@")(3)%></td>
	   <td>&nbsp<textarea rows=2 cols=25 class=text><%=split(kncsbb(i),"@")(4)%></textarea></td>
	   <td>&nbsp<%=split(kncsbb(i),"@")(5)%></td>
	   <td>&nbsp<%=split(kncsbb(i),"@")(6)%></td>
	   <td>&nbsp<%=split(kncsbb(i),"@")(7)%></td>
	   <td>&nbsp<%=split(kncsbb(i),"@")(8)%></td>
	   <td>&nbsp<textarea rows=2 cols=25 class=text><%=split(kncsbb(i),"@")(9)%></textarea></td>
	  </tr> 
	  <%next%>
	</table>
	<br>
	<hr size="1" class=hr width="98%" align="center">
	  <br>
	  <table width="98%" border="0" cellspacing="0" cellpadding="2" align="center">
		<tr align="center"> 
		  <td>
			<input type="button" name="Submit32" value=" 返回 " class=button LANGUAGE=javascript onclick='javascript:location.replace("frm_kncsbb_form.asp");'>
		  </td>
		</tr>
	  </table>
	</form>

</body>
</html>
<!--#include virtual="/include/DBClose.inc"-->

⌨️ 快捷键说明

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