下面的代码在写入ACCESS数据库是都能写入的,在转SQL库后红色的部分写入是空,不知道为什么?请大哥哥和大姐姐帮帮忙!!!!!小第十分感谢!! <%
title=request.form("title3") no=request.form("no")
set rs=server.createobject("adodb.recordset") sql="select * from learning where (articleid is null)" rs.open sql,conn,1,3 rs.addnew rs("serverip")=request.form("serverip") rs("typeid")=Request.Form("typeid") rs("softlevel")=Request.Form("softlevel") rs("where")=Request.Form("where") rs("title")=title rs("content")=replace(request.form("content3"),vbcrlf,"<br>") rs("onlinelook")=request.form("onlinelookb") rs("down")=request.form("downv") rs("canlook")=request.form("canlook") rs("howlong")=request.form("howlong4") rs("url")=request.form("url") rs("best")=request.form("best") rs("firstbest")=request.form("firstbest") rs("domurl")=request.form("domurl3") rs("name")=request.form("name") rs("count")=request.form("count") rs("movietype")=request.form("movietype") rs("dateandtime")=date() rs.update
articleid=rs("articleid") rs.close
set rs=server.createobject("adodb.recordset") sql1="select * from movieurl where (id is null)" rs.open sql1,conn,1,3 for i=1 to no rs.addnew url=trim(request.form("urla"&i&"")) rs("nameid")=articleid rs("url")=url rs.update next
rs.close set rs=nothing conn.close set conn=nothing
%>