相关代码 |
|
dim IID IID=request("id") set rs=server.createobject("adodb.recordset") conn = "DBQ=" + server.mappath("mybook.mdb") + ";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};" if IID="" then sql="select * from mytable where id=1" else sql="select * from mytable where id="&IID end if rs.open sql,conn,1,1 if not rs.EOF then %> end if set rs=nothing set conn=nothing %>
相关资源 |
|