Update 更新数据问题
<!--#include file="../inc/admin.inc"--><%if request("isaudit")="ok" then
sql="update company set index=1"' where id=" & cstr(request("id"))
conn.execute sql
end if%><% if request("isaudit")="cancel" then
sql="update company set index=0"' where id=" & cstr(request("id"))
conn.execute sql
end if%>
<%if rs("index")=1 then %> <a href="mcompany.asp?id=<%=rs("id")%>&isaudit=cancel">
取消审核</a> 
<% else %>
<a href="mcompany.asp?id=<%=rs("id")%>&isaudit=ok">
通过审核</a> 
<%end if%>