1樓:徐代厹
<%if request.querystring("mark")="southidc" then
這句是遊覽器裡的字尾mark=southidc時執行下面的
set rs=server.createobject("adodb.recordset")
sql="select * from main"
rs.open sql,conn,3,3
開啟資料庫mail對其進行寫功能
rs("about")=about
rs.update
rs.close
對資料庫main裡的about欄位進行更新,更新的值為about的值
end if
頁面跳轉到manage_main.asp
sql="select * from main"
set rs_home= server.createobject("adodb.recordset")
rs_home.open sql,conn,1,1
如果瀏覽器的mark不等於southidc那麼開啟main資料庫什麼都不做為唯讀
2樓:匿名使用者
把使用者在「關於」(about)對話方塊中填寫的內容寫入資料庫中,之後返回manage_main.asp頁面。
asp 輸出陣列問題,關於ASP中陣列問題
這個不應該用陣列來輸出吧,因為沒有什麼共性的東西讓你來用split生成陣列 我的思路是搜尋 images 找到位置,從該位置擷取到字串的最後 擷取後 然後再搜尋第乙個百分號 從開頭擷取到該位置 c images upfile 201191044033337.png 具體的寫法大概如下 b mid a...
ASP中的問題,ASP中的問題
具體方法是 開啟 我的電腦 找到 所在資料夾 在其上點右鍵 選 屬性 切換到 安全性 選項卡,在這裡新增iuser並給iuser使用者所有許可權。一般來說使用iuser相對於everyone安全一些 注意 如果你的系統是xp,請先點 工具 資料夾選項 檢視 去掉 使用簡單檔案共享 前的勾,確定後,資...
asp簡單的問題,asp乙個簡單的問題
typeid 12 這裡的12換成對應的。複製下面的,然後貼上,把貼上的typeid 到資料庫裡面找 sql select top 6 from news where typeid 12 order by newsid desc 注意news表中typeid欄位名的資料型別 你的問題沒有說得太清,你...
asp頁面裡if語句問題,ASP頁面裡,IF語句問題
elseif rs select b then if tryoperator jn and tryownerarea 江南 44140254 then elseif tryoperator wz and tryownerarea 五洲 44140253 then elseif tryoperator...
ASP產品分頁問題
rs.open select top 1 from product where id id order by id desc conn,1,3 if not rs.eof then response.write 上乙個產品 rs spec else response.write 上乙個產品 沒有了 ...