예제 #1
0
        protected void btnYes_Click(object sender, EventArgs e)
        {
            try
            {
                ////Shakeeb
                ////p.Delete(p);

                context.sp_DeleteUser(companyId, Convert.ToInt32(ViewState["unit_id"]), Convert.ToInt32(ViewState["user_id"]), branchId);
                divalert.Visible = true;
                lblAlert.Text    = "User Deleted Successfully ";
                clr();
            }
            catch (Exception ex)
            {
                ErrorLog.saveerror(ex);
                //Do Logging
            }
        }