日期:2014-05-17  浏览次数:20870 次

请帮我理一下,出错的地方为哪些,谢谢,下面是目前出错的地方
<%
set   sjk=server.CreateObject( "adodb.recordset ")
sjk.open   "select   *   from   [users]   where   u_name= ' "   &   request.Form( "t_name ")   &   " '   ",conn1,1,1
if   sjk.recordcount> 0   then
    response.Write( "用户 "   &   request.Form( "u_name ")   &   "已经存在,用其他的吧! ")
    sjk.close
    set   sjk=nothing
    conn1.close
    set   conn1=nothing
    response.End
elseif   request.Form( "t_name ")= " "   or   request.Form( "t_code ")= " "   or   request.Form( "t_qu ")   or   request.Form( "t_nicheng ")   then
    response.Write( "请将资料填写完整! ")
else   then
    sjk.close
    sjk.open   "users "   ,conn1,1,3
    sjk.addnew
    sjk( "u_name ")=request.Form( "t_name ")
    sjk( "u_code ")=request.Form( "t_code ")
    sjk( "u_qu ")=request.Form( "t_qu ")
    sjk( "u_nicheng ")=request.Form( "t_nicheng ")
    sjk.update
    sjk.close
end   if
%>

Microsoft   VBScript   编译器错误   错误   '800a0408 '  

无效字符  

/zhuce.asp,行   22  

response.Write( "请将资料填写完整! ")

------解决方案--------------------
response.Write( "请将资料填写完整! ")

注意最右边的括号

response.Write( "请将资料填写完整! ")



------解决方案--------------------
response.Write( "请将资料填写完整! ")

你没发现一个粗一个细么,右边那个你打了全角的括号