<!--#include file="conn.asp"-->
<!--#include file="check.asp"-->
<%
	useflag=1
%>
<!--#include file="flag.asp"-->
<!--#include file="../inc/setup.asp"-->
<!--#include file="../inc/sql.asp"-->
<%
	end if
	dim VoteID,sql
	VoteID=trim(Request("ID"))
	if VoteID<>"" then
		sql="delete from Vote where ID="&int(VoteID)&""
		conn.Execute sql
		conn.close
		set conn=nothing
	end if
	response.write"<script language=JavaScript>alert('投票项目删除成功！');"    
	response.write"this.location.href='Vote.asp';</script>"
	response.end
%>
