rs:缺少对象 需要根据判断,打开不同的数据库时, rs.Close Set rs = Nothing conn.Close Set conn = Nothing 放到最后 by the way :asp真不智能。。。