?? searchcom.asp
字號:
<!--#include file=cn.asp-->
<%
id=cint(trim(request.Form("id")))
set rs=server.CreateObject("adodb.recordset")
sql="select * from company where id="&id
rs.open sql,cn,1,3
if rs.eof then
response.Write "<script language='javascript'>alert('無記錄!');window.location.replace('index.asp');</script>"
else
response.Redirect"comxx.asp?id="&rs("id")&"&name="&rs("cname")&""
end if
rs.close
set rs=nothing
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -