?? do_mdysmt.asp
字號:
<HTML> <BODY>
<%
str = Request("xuehao")
yuwen = Request("yuwen")
shuxue = Request("shuxue")
yingyu = Request("yingyu")
set conn = Server.CreateObject("ADODB.Connection")
conn.Open("driver={Microsoft Access Driver (*.mdb)};dbq=" &_
Server.MapPath("person.mdb"))
set cmd = Server.CreateObject("ADODB.Command")
cmd.ActiveConnection = conn
sql = "UPDATE grade SET 數學 = " & shuxue & ",英語=" &_
yingyu & ",語文=" & yuwen & " where 學號=" & str
Response.Write(sql)
cmd.CommandText = sql
cmd.Execute()
Response.Redirect("pageV6.asp")
%>
</BODY> </HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -