📄 modify.asp
字号:
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="conn.asp"-->
<%
id=request("id")
page=request("page")
set rs=server.createobject("adodb.recordset")
sqltext="select * from car where id=" & id
rs.open sqltext,conn,1,1
%>
<html>
<head>
<link rel="stylesheet" href="../appmain.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>信息修改页面</title>
<style type="text/css">
<!--
body {
background-color: #e1f4ee;
}
.style5 {
color: #FF0000;
font-size: 18pt;
}
-->
</style></head>
<body>
<FORM language=javascript name=FORM1 action=modify_ok.asp method=post >
<div align="center">
<p>
<INPUT type=hidden value=<%=rs("id")%> name="id">
</p>
<p> </p>
<table width="257" border="0" cellpadding="0" cellspacing="0" class="TOOLBARTABLE">
<tr>
<td height="36"><div align="center"><span class="style5"><font size="3">货车大队在册车辆一览表-信息修改</font></span></div></td>
</tr>
</table><br>
</div>
<table width="257" align="center" cellpadding="0" cellspacing="0" bordercolorlight="#000000" bordercolordark="#FFFFFF" class="TOOLBARTABLE">
<tr>
<td width="86">序 号:</td>
<td width="169"><input name="aa" type="text" class="input_plane2" id="aa" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'" value="<%=rs("xuhao")%>"></td>
</tr>
<tr>
<td>经营者:</td>
<td><input name="bb" type="text" class="input_plane2" id="bb" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'" value="<%=rs("jin_yin_ren")%>"></td>
</tr>
<tr>
<td>车牌号:</td>
<td><input name="cc" type="text" class="input_plane2" id="cc" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'" value="<%=rs("che_pai_hao")%>"></td>
</tr>
<tr>
<td>吨 位:</td>
<td><input name="dd" type="text" class="input_plane2" id="dd" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'" value="<%=rs("dun_wei")%>"></td>
</tr>
<tr>
<td>上交基数:</td>
<td><input name="ee" type="text" class="input_plane2" id="ee" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'" value="<%=rs("sh_jiao")%>"></td>
</tr>
<tr>
<td>合同期限:</td>
<td><input name="ff" type="text" class="input_plane2" id="ff" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'" value="<%=rs("he_ton_data")%>"></td>
</tr>
<tr>
<td>车辆属性:</td>
<td><select name="hh" id="hh" value="<%=rs("shuxin")%>" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'">
<option value="请选择车辆属性" selected <%If (Not isNull(rs("shuxin"))) Then If ("请选择车辆属性" = CStr(rs("shuxin"))) Then Response.Write("SELECTED") : Response.Write("")%>>请选择车辆属性</option>
<option value="公营车" <%If (Not isNull(rs("shuxin"))) Then If ("公营车" = CStr(rs("shuxin"))) Then Response.Write("SELECTED") : Response.Write("")%>>公营车</option>
<option value="货运出租车" <%If (Not isNull(rs("shuxin"))) Then If ("货运出租车" = CStr(rs("shuxin"))) Then Response.Write("SELECTED") : Response.Write("")%>>货运出租车</option>
<option value="挂靠车" <%If (Not isNull(rs("shuxin"))) Then If ("挂靠车" = CStr(rs("shuxin"))) Then Response.Write("SELECTED") : Response.Write("")%>>挂靠车</option>
<option value="零担车" <%If (Not isNull(rs("shuxin"))) Then If ("零担车" = CStr(rs("shuxin"))) Then Response.Write("SELECTED") : Response.Write("")%>>零担车</option>
<option value="危险品车" <%If (Not isNull(rs("shuxin"))) Then If ("危险品车" = CStr(rs("shuxin"))) Then Response.Write("SELECTED") : Response.Write("")%>>危险品车</option>
<option value="短驳车辆" <%If (Not isNull(rs("shuxin"))) Then If ("短驳车辆" = CStr(rs("shuxin"))) Then Response.Write("SELECTED") : Response.Write("")%>>短驳车辆</option>
</select></td>
</tr>
<tr>
<td>备 注:</td>
<td><input name="gg" type="text" class="input_plane2" id="gg" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'" value="<%=rs("bei_zhu")%>"></td>
</tr>
<tr>
<td colspan="2"> <div align="center">
<p> </p>
<p>
<input name="Submit" type="submit" class="button" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#eac3cf'" value="确定修改">
</p>
</div></td>
</tr>
</table>
<div align="center"></div>
</form>
<% rs.close
set rs=nothing
conn.close
set conn=nothing
%></body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -