<!--#include file="../include/Conn.asp"-->
<%
if trim(Request.Cookies("UserID")) = "" or trim(Session("UserID"))=""  THEN
     Response.Redirect("Login.asp")
	 Response.End()
   end if
   
kinds=clng(trim(request("kinds")))
userid=clng(trim(request("userid")))
set rs=server.createobject("ADODB.Recordset")
 m_SQL="Select v_sh From v_sdate Where v_cid="&userid
rs.open m_SQL,conn,1,3
 if Not rs.Eof then
   rs("v_sh") = kinds
   rs.update
else
response.Write "该商家不存在"
 End if
%>
 <script language="javascript">
alert("修改成功，返回后请刷新页面！");
window.close();
</script>
<%response.End()%>