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

asp菜鸟,求教,我这代码有什么问题吗?
HTML code
    <%
     
    sql1="select *  from news_group where  newsID=379392"
     
     set rs1 = conn.execute(sql1)
     
     while not rs1.eof
     
     If rs1("groupID")>0 then
         Response.Write "<input type=""button"" value=""···"" name="""" id="""" onclick=""newsZ('118','xg');"" class=""glzu""/>"
     Else
       Response.Write "<span onclick=""newsZ('517','xj');"" class=""xjNZ"">无组</span>"
     
    %>


------解决方案--------------------
少个:end if和loop