Page.ClientScript.RegisterStartupScript(Page.GetType(), "", "<script>alert('投票成功,谢谢参与!');window.location.href='目标.aspx'</script>");
Page.ClientScript.RegisterStartupScript(Page.GetType(), "", "<script>alert('投票成功,谢谢参与!');window.location.href='目标.aspx'</script>");