if selectbookid<>"" then
conn.execute "delete from products where bookid in ("&selectbookid&")"
Set fs = CreateObject("Scripting.FileSystemObject")
Set thisfile = fs.GetFile(Server.mappath("/products/products_"&selectbookid&".html"))
thisfile.Delete True
response.Redirect "manageproduct.asp"
response.End
end if
本文介绍了一段用于从数据库中删除指定产品记录的VBScript代码,并同时移除对应的HTML文件。该脚本通过接收bookid参数来确定要删除的产品项。
1662

被折叠的 条评论
为什么被折叠?



