Exemple #1
0
 /// <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.UpdateSellerStatus(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);
     }
 }