急问asp中如何读取foxpro数据库(*.dbf)中的数据?
nely 2003-08-22 02:15:16 我使用以下方法连接数据库的
conn.Open "Driver={Microsoft Visual FoxPro Driver};" & _
"SourceType=DBF;" & _
"SourceDB=c:\somepath\mySourceDbFolder;" & _
"Exclusive=No"
但是以下代码
set rs=conn_dbf.execute(strsql)
if not rs.eof then
response.Write("ok")
end if
if rs.eof then
response.Write("ok")
end if
结果输出了2个ok,请问高手这是怎么回事?