idArray=Split(ids,",")Response.Write
ids
'这里输出一下看看有没有值呢,'还有如果下面的ID是字符类型
那么ids每项都要有单引号引起来
Set
rs=conn.Execute("Select
*
From
photo
Where
id
in
("&
ids
&")
order
by
id
asc")
Do
While
Not
rs.eof
%>
string sql = "Select * form fittingmessageInfo where 车号='" + chehao.Txet.Trim() + "'"祝你成功!
将这一句:strsql = "select*from 借还书表 where 读者号=" '&rid&'"and 书号="'&bid&'""
改为:
strsql = "select * from 借还书表 where 读者号='" & rid & "' and 书号='" & bid & "'"
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)