connDB conn=new connDB();
if(request.getParameter("ID")!=""){
int ID=Integer.parseInt(request.getParameter("ID"));
String sql="update tb_member set freeze=1 where ID="+ID;
int ret=0;
ret=conn.executeUpdate(sql);
if (ret!=0){
out.println("alert('该会员信息已经被冻结!');window.location.href='membermanage.jsp';");
}else{
out.println("alert('操作失败!');window.location.href='membermanage.jsp';");
}
}
%>