大家看一下asp连接数据库的错在哪里,总是显示参数类型不正确,或不在可以接受的范围之内??
<%setrsmv=server.createobject("adodb.recordset")sqlmv="selecttop9*fromsh_yinpianwhere...
<%
set rsmv=server.createobject("adodb.recordset")
sqlmv="select top 9 * from sh_yinpian where yp_tj=1 order by yp_id desc"
rsmv.open sqlmv,conn,1,1
if rsmv.eof and rsmv.bof then
response.Write("数据维护中......")
else
do while not rsmv.eof or rsmv.bof
%> 展开
set rsmv=server.createobject("adodb.recordset")
sqlmv="select top 9 * from sh_yinpian where yp_tj=1 order by yp_id desc"
rsmv.open sqlmv,conn,1,1
if rsmv.eof and rsmv.bof then
response.Write("数据维护中......")
else
do while not rsmv.eof or rsmv.bof
%> 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询