以下这样就可以了:
set rs1=server.createobject("adodb.recordset")
sql1="select * from [公告]"
rs1.open sql1,conn,1,3
if not rs1.bof then
Preview=rs1("qyjj_chn")
eng_Preview=rs1("qyjj_eng")
end if
rs1.close
response.Write Preview
set rs1=server.createobject("adodb.recordset") sql1="select * from 公告" rs1.open sql1,conn,1,3 if not rs1.bof then Preview=rs1("qyjj_chn") eng_Preview=rs1("qyjj_eng") end if rs1.close response.Write Preview...
标签:语句,结束