asp 判断字段重复de问题。烦啊。都几天了

来源:百度知道 编辑:UC知道 时间:2024/05/26 14:03:40
http://zhidao.baidu.com/question/89854943.html
谁能帮帮我啊??、或者百毒嗨上帮我嘛。。。。。

set rst=server.CreateObject("adodb.recordset")
rst.open "select * from qqun where qqun_number='"&number&"'",conn,1,1
if not rst.eof then
response.Write "Q群号已存在,不能重复提交!"
response.End()
end if