public override void Save()
        {
            try
            {
                foreach (var item in grdLister.Rows)
                {
                    objMaster = new DriverDocumentListBO();
                    objMaster.GetByPrimaryKey(item.Cells[COLS.Id].Value.ToInt());

                    if (objMaster.Current != null)
                    {
                        //   objMaster.Current.BackgroundColor = item.Cells[COLS.BackgroundColorValue].Value.ToIntorNull();


                        objMaster.Current.ExpiryDays = item.Cells[COLS.ExpiryDays].Value.ToIntorNull();

                        objMaster.Save();
                    }
                }
            }
            catch (Exception ex)
            {
                ENUtils.ShowMessage(ex.Message);
            }
        }
        public frmDriverDocumentExpirySettings()
        {
            InitializeComponent();

            objMaster = new DriverDocumentListBO();
            this.SetProperties((INavigation)objMaster);

            FormatGrid();
            this.Load       += new EventHandler(frmBookingTypes_Load);
            this.FormClosed += new FormClosedEventHandler(frmBookingTypes_FormClosed);
        }