注册 登录
编程论坛 ASP技术论坛

数据库同一个字段,添加的内容一样时则无法添加成功,该怎么解决啊?

lxb0592 发布于 2012-06-13 15:38, 433 次点击
数据库同一个字段,添加的内容一样时则无法添加成功,该怎么解决啊?
2 回复
#2
ysf01812012-06-13 15:48
<%
rs.open"select * from testbiao where abc = '"&abc&"'",conn,1,1
if not rs.eof then
   rs.close
   set rs = nothing
   conn.close
   set conn = nothing   
   response.write "一样了"
   response.end
end if
rs.close
'可以了。
%>
#3
lxb05922012-06-13 15:56
谢谢版主热心解答。
1