private int UpdateRejectedReason() { try { user_dll = new UsersDLL(); return(user_dll.UpdateRejectedReason(txtReasonDescription.Text.ToString(), Convert.ToInt32(Session["UserID"]), Convert.ToInt32(hdnreasonid.Value))); } catch (Exception ex) { ErrorMessage(ex.Message); return(0); } }