📄 frm_well_layer_modify.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() {
form1.submit();
}
-->
</SCRIPT>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><br>
<%
stilId=request.form("chstil")
if stilId="" then
response.redirect "/profile/errorpage.asp?title=删除油层数据&msg=您没有选择任何油层!"
else
stilId=split(stilId,",")(0)
end if
wellId=request("wellId")
isSub=request.form("isSub")
if isSub="" then
%>
<span class="subject">
修改井<%=wellId%>的油层及射孔情况<%=stilId%>
</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="90%">
<tr height="20">
<td class="title" colspan=2 align=center width=30%>层位</td>
<td align=left width=70%>  <input type=text name=text1 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" colspan=2 align=center width=30%>油层井段</td>
<td align=left width=70%>  <input type=text name=text2 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" colspan=2 align=center width=30%>厚度</td>
<td align=left width=70%>  <input type=text name=text3 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" colspan=2 align=center width=30%>综合解释</td>
<td align=left width=70%>  <input type=text name=text4 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" rowspan=6 align=center width=15%>电性参数</td>
<td class="title" align=center width=15%>电阻率</td>
<td align=left width=70%>  <input type=text name=text5 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15%>孔隙度</td>
<td align=left width=70%>  <input type=text name=text6 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15%>含水饱和度</td>
<td align=left width=70%>  <input type=text name=text7 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15%>自然电位</td>
<td align=left width=70%>  <input type=text name=text8 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15%>渗透率</td>
<td align=left width=70%>  <input type=text name=text9 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" align=center width=15%>泥质含量</td>
<td align=left width=70%>  <input type=text name=text10 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" colspan=2 align=center width=30%>射孔井段</td>
<td align=left width=70%>  <input type=text name=text11 size=20 class=text></td>
</tr>
<tr height="20">
<td class="title" colspan=2 align=center width=30%>厚度</td>
<td align=left width=70%>  <input type=text name=text12 size=20 class=text></td>
</tr>
</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=hidden name=wellId value=<%=wellId%>>
<input type=hidden name=chstil value=<%=stilId%>>
<input type=hidden name=isSub value=true>
<input type="button" name="Submit32" value=" 更新 " class=button onclick=subcheck()>
<input type="button" name="Submit32" value=" 返回 " class=button LANGUAGE=javascript onclick='javascript:location.replace("frm_well_layer.asp?wellId=<%=wellId%>");'>
</td>
</tr>
</table>
</form>
<%
else
text1=request.form("text1")
text2=request.form("text2")
text3=request.form("text3")
text4=request.form("text4")
text5=request.form("text5")
text6=request.form("text6")
text7=request.form("text7")
text8=request.form("text8")
text9=request.form("text9")
text10=request.form("text10")
text11=request.form("text11")
text12=request.form("text12")
Set Rs = Server.CreateObject("ADODB.RecordSet")
SQL="select * from oil.oil_oilstil where oilstil_id='" &stilId& "'"
rs.open SQL,conn,1,3
if text1<>"" then
rs("oilstil_layer")=text1
end if
if text2<>"" then
rs("oilstil_oillayer")=text2
end if
if text3<>"" then
rs("oilstil_ply")=text3
end if
if text4<>"" then
rs("oilstil_instruct")=text4
end if
if text5<>"" then
rs("oilstil_resistance")=text5
end if
if text6<>"" then
rs("oilstil_kxd")=text6
end if
if text7<>"" then
rs("oilstil_hsbhd")=text7
end if
if text8<>"" then
rs("oilstil_zrdw")=text8
end if
if text9<>"" then
rs("oilstil_stl")=text9
end if
if text10<>"" then
rs("oilstil_nzhl")=text10
end if
if text11<>"" then
rs("oilstil_skjd")=text11
end if
if text12<>"" then
rs("oilstil_skhd")=text12
end if
rs.update
rs.close
response.redirect "frm_well_layer.asp?wellId=" &wellId
end if
%>
</body>
</html>
<!--#include virtual="/include/DBClose.inc"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -