?? lxsave.asp
字號(hào):
<!-- #include file="../include/bkconn.asp"-->
<!--#include file="checkUser.asp"-->
<%
dim sql
Set cmdTemp = Server.CreateObject("ADODB.Command")
Set InsertCursor = Server.CreateObject("ADODB.Recordset")
cmdTemp.CommandText = "SELECT top 1 * FROM lx where id="&Request("id")
cmdTemp.CommandType = 1
Set cmdTemp.ActiveConnection = conn
InsertCursor.Open cmdTemp, , 1, 3
InsertCursor("title") =Request("title")
InsertCursor("content") =Request("content")
InsertCursor.Update
' response.write InsertCursor("id")
' response.End
' InsertCursor.movelast
%>
<script language=Javascript>
<!--
alert("修改成功!");
window.location="lxmod.asp?id=35"
-->
</script>
<%
InsertCursor.close
conn.close
set InsertCursor=nothing
set conn=nothing
%>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -