示例#1
0
 //清空文档
 protected void DelAll_Btn_Click(object sender, EventArgs e)
 {
     if (pubBll.DelAll())
     {
         Response.Write("<script language=javascript>alert('" + Resources.L.清空成功 + "!');location.href='PubRecycler.aspx'</script>");
     }
     else
     {
         Response.Write("<script language=javascript>alert('" + Resources.L.清空失败 + "!');location.href='PubRecycler.aspx'</script>");
     }
     DataBind();
 }