Exemplo n.º 1
0
        protected void hplDelete_Click(object sender, EventArgs e)
        {
            var gr        = (GridViewRow)((LinkButton)sender).NamingContainer;
            var PaidGroup = (Label)gr.FindControl("lblGroupRequsetNo");
            var biz       = new BLL.PaymentBiz();
            var res       = biz.CancelGroupRequestNo(PaidGroup.Text);

            if (res.IsError)
            {
                UCModalError.ShowMessageError = res.ErrorMsg;
                UCModalError.ShowModalError();
                BindDataInGridView(true);
            }
            else
            {
                BindDataInGridView(true);
                UCModalSuccess.ShowMessageSuccess = Resources.errorSysMessage_CreatePaymentSuccess;
                UCModalSuccess.ShowModalSuccess();
            }
            UpdatePanelSearch.Update();
        }