car_saveset.asp

来自「*** ***** 系统进入 *** ***** 系统主文件为index.」· ASP 代码 · 共 67 行

ASP
67
字号
<!--#include file="data.asp"-->
<!--#include file="html.asp"-->


<%
response.buffer=false
dim sql
dim rs
dim id

 car_state=request("car_state")
 car_statestart = Request.form("year1")&"-"&Request.form("month1")&"-"&Request.form("day1")
 car_stateend = Request.form("year2")&"-"&Request.form("month2")&"-"&Request.form("day2")
 car_statesmalluser=request("car_statesmalluser")
 car_statecompany=request("car_statecompany")
 car_statebiguser=request("car_statebiguser")
 car_statecause=htmlencode2(request("car_statecause"))
set rs=server.createobject("ADODB.recordset") 
rs.Open "SELECT * FROM car where id="&request("id"),conn,3,3 

rs("car_state")=car_state
rs("car_statestart")=car_statestart
rs("car_stateend")=car_stateend
rs("car_statesmalluser")=car_statesmalluser
rs("car_statecompany")=car_statecompany
rs("car_statebiguser")=car_statebiguser
rs("car_statecause")=car_statecause
rs.update 
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<table width="100%" border="0" cellspacing="1" cellpadding="2">
    <tr > 
      <td class="heading"> 
        <div align="center">
          <center> 
        <table width="81%" border="0" cellspacing="0" cellpadding="0" bgcolor="#000000" bordercolorlight="#000000" style="font-size:9pt">
          <tr> 
            <td width="2%" align="right"></td>
            <td align="left" height="25">
              <p align="center"><font color="#FFFFFF"><b>修 改 资 料</b></font></p>
            </td>
            <td width="3%"></td>
          </tr>
        </table>
          </center>
        </div>
      </td>
    </tr>
  </table>
  <div align="center">
  <table width="80%" border="1" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#000000" style="font-size:9pt">
    <tr> 
      <td valign="top">
        <p align="center">已经成功设置</p>
        </font></td>
   </tr>
    
  </table>
  </div>
  <div align="center"><a  href="javascript:history.back(1)"><img border="0" src="images/previous.gif"></a>&nbsp;&nbsp;      
  <a  href="car_see.asp" target=main><img border="0" src="images/close_1.gif" onclick="window.close();"></a>   
       
     
  </div> 

⌨️ 快捷键说明

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