把rs("url")= urlrs("ruleid")=ruleidrs("ShowHide")=ShowHiders.update 换成conn.execute("insert into Domain(url,ruleid,ShowHide) values ('"&url&"','"&ruleid&"','"&ShowHide&"')")试一下吧