摘要: load中加入下面属性: protected void Page_Load(object sender, EventArgs e) { Button2.Attributes.Add("onclick", "this.form.target='_newName'"); }按钮点击事件: protected void Button2_Click(object sender, EventArgs e) { Response.Redirect(Server.MapPath("/Admin/Add.aspx")); } 阅读全文
posted @ 2011-01-12 15:28 Yao,Mane 阅读(343) 评论(0) 推荐(0) 编辑