日期:2014-05-17 浏览次数:21370 次
增加函数 function Do_add(table,direct) set rs=server.createobject("adodb.recordset") sql="select * from "&table&" where (id is null)" rs.open sql,conn,1,3 rs.addnew for i= 1 to rs.fields.count-1 rs(i)=request(rs(i).name) next rs.update rs.close set rs=nothing conn.close set conn=nothing response.Redirect direct end function