網站架構使用了三層iframe:
結合jquery類庫的TreeView構建樹菜單(可擴充N級菜單節點) ,如.
結合jquery類庫的dialog.js構建架構中彈出層或表單 ,如中的中間小圖.
Asp的心得.
---------------------------
ADODB.Recordset 錯誤 '800a0bb9'
參數類型不正確,或不在可以接受的範圍之內,或與其他參數衝突。
最基礎的錯誤,呵呵.asp 與.Net的類庫有概念的差異.
asp的引用,限於檔案頭的<!--#include file="../Connection/SqlConnection.asp" --> ,
比較呆的引用路徑.有時也因.net習慣而忽略引用
.net就相對要靈活且直觀些...類,介面,dll,方法...
建立及修改資料表的樣本:
id=request.Form("id")
xingming=request.Form("xingming")
bumen=request.Form("bumen")
zhiwei=request.Form("zhiwei")
shouji=request.Form("shouji")
dianhua=request.Form("dianhua")
chuanzhen=request.Form("chuanzhen")
qq=request.Form("qq")
msn=request.Form("msn")
zhanghao=request.Form("zhanghao")
mima=request.Form("mima")
kefu=request.Form("kefu")
zhaopian=request.Form("zhaopian")
'插入資訊
set rs1=server.CreateObject ("adodb.recordset")
if id="" then
rs1.open "select top 1 * from yuangong ",Open_conn,1,3
rs1.addnew
else
rs1.open "select top 1 * from yuangong where id="&id&"",Open_conn,1,3
end if
rs1("xingming") =xingming
rs1("bumen") =bumen
rs1("zhiwei") =zhiwei
rs1("shouji") =shouji
rs1("dianhua") =dianhua
rs1("chuanzhen") =chuanzhen
rs1("qq") =qq
rs1("msn")=msn
rs1("zhanghao")=zhanghao
rs1("mima")=mima
rs1("kefu")=kefu
rs1("zhaopian")=zhaopian
rs1("tjshijian")=date()
rs1.update
rs1.close
set rs1=nothing