日期:2014-05-17  浏览次数:20991 次

为什么不能入库

set   LogRs=Server.CreateObject( "Adodb.Recordset ")
LogSql= "select   *   from   TM_qiyegg "
LogRs.open   LogSql,LogConn,3,1
LogRs.addnew
LogRs( "gg_name ")=request.Form( "gg_name ")
LogRs( "gg_pic ")=request( "AD_Pic ")
LogRs( "gg_addtime ")=now()
LogRs( "gg_http ")=request( "gg_http ")

LogRs( "gg_blank ")=request( "gg_blank ")

LogRs( "gg_note ")=request( "gg_note ")
LogRs( "gg_smt_id ")=request( "smt_id ")
LogRs( "gg_day ")=request( "gg_day ")
LogRs( "gg_flash ")=request( "gg_flash ")
LogRs.update
LogRs.close
set   LogRs=nothing
LogConn=close
set   LogConn=nothing

------解决方案--------------------
LogRs.open LogSql,LogConn,3,1

LogRs.open LogSql,LogConn,1,3
------解决方案--------------------
出错的信息来看看.