谁能告诉我asp中修改access数据库数据有几种方法,请举出示例代码
来源:百度知道 编辑:UC知道 时间:2024/07/04 13:08:11
谁是高手,留一下qq
我觉得是二种.
一种是:update table set a=1,b=2
另一种是:
sql="select * from table where id=1"
rs.open sql,conn,1,3
if not rs.eof then
rs("a")=1
rs("b")=2
rs.update
end if
rs.close
set rs=nothing