WAP_鸡蛋投票

{$aspx
	int ID=Convert.ToInt32(Request.QueryString["ID"]);
	int BID=Convert.ToInt32(Request.QueryString["BID"]);

	SqlCommand 语句=new SqlCommand("UPDATE ["+程序.数据表前缀+"社区_论坛_贴子] SET [鸡蛋数]=[鸡蛋数]+1 WHERE [ID]="+ID+" AND [所属版块]="+BID,访问.连接);
	语句.ExecuteNonQuery();

	Response.Redirect(常用.处理地址("Topic.aspx?BID="+BID+"&ID="+ID,访问.用户["标识"].ToString()));
$}