/// <summary> /// 允许事件单击 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void Allow_click(object sender, EventArgs e) { try { string sellerID = ((LinkButton)sender).CommandArgument; if (SellersBLL.DeleteSellersInfo(sellerID)) { Response.Write("<script language='javascript'>alert('操作成功!');</script>"); } else { Response.Write("<script language='javascript'>alert('操作失败!');</script>"); } MsgDataBind(); } catch (Exception ex) { ExceptionReporter.WriteLog(ex, ExceptionPostion.TBApply_Web_UI); } }