?? savesortadd.asp
字號(hào):
<!-- #include file="../include/bkconn.asp "-->
<!--#include file="checkUser.asp"-->
<%
Set cmdTemp = Server.CreateObject("ADODB.Command")
Set InsertCursor = Server.CreateObject("ADODB.Recordset")
cmdTemp.CommandText = "SELECT * FROM productSort WHERE (id is null)"
cmdTemp.CommandType = 1
Set cmdTemp.ActiveConnection = conn
InsertCursor.Open cmdTemp, , 1, 3
InsertCursor.addnew
InsertCursor("name") =Request("name")
InsertCursor("name_e") =Request("name_e")
InsertCursor("fatherID") =Request("fatherID")
InsertCursor.Update
InsertCursor.close
conn.close
set InsertCursor=nothing
set conn=nothing
%>
<script language=Javascript>
<!--
alert("添加成功!");
this.document.location="sortAdd.asp";
-->
</script>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -