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

📄 car_saveedit1.asp

📁 *** ***** 系统进入 *** ***** 系统主文件为index.htm 系统超级用户 用户名:lhh 密码:lhh *** ***** 系统功能说明 *** ****
💻 ASP
字号:
<!--#include file="data.asp"-->
<!--#include file="html.asp"-->

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


 car_code=htmlencode2(request("car_code"))
 car_type=request("car_type")
 car_buytime=htmlencode2(request("car_buytime"))
 car_buyprice=htmlencode2(request("car_buyprice"))
 car_detail=htmlencode2(request("car_detail"))
 car_company=request("car_company")
 car_user=request("car_user")
 car_usermobile=request("car_usermobile")
 car_usertel=request("car_usertel")
 car_money=htmlencode2(request("car_money"))
 car_fixlog=htmlencode2(request("car_fixlog"))
 ip= Request.ServerVariables("REMOTE_ADDR")
 nowtime=now()
sj=cstr(year(nowtime))+"-"+cstr(month(nowtime))+"-"+cstr(day(nowtime))+" "+cstr(hour(nowtime))+":"+right("0"+cstr(minute(nowtime)),2)+":"+right("0"+cstr(second(nowtime)),2)

set rs=server.createobject("ADODB.recordset") 
rs.Open "SELECT * FROM car where id="&request("id"),conn,3,3 
rs("car_code")=car_code
rs("car_type")=car_type
rs("car_buytime")=car_buytime
rs("car_buyprice")=car_buyprice
rs("car_detail")=car_detail
rs("car_company")=car_company
rs("car_user")=car_user
rs("car_usermobile")=car_usermobile
rs("car_usertel")=car_usertel
rs("car_money")=car_money
rs("car_fixlog")=car_fixlog
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>
        </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="javaScript:window.close()"><img   border="0" src="images/close_1.gif"></a>     
       
     
  </div> 

⌨️ 快捷键说明

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