Beispiel #1
0
        private void UpdateRow(DIC_SALARY_RANK item, RowClickEventArgs e)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int rowIndex = e.RowIndex;

            advBandedGridView.SetRowCellValue(rowIndex, "RankCode", item.RankCode);
            advBandedGridView.SetRowCellValue(rowIndex, "RankName", item.RankName);
            advBandedGridView.SetRowCellValue(rowIndex, "Description", item.Description);
            advBandedGridView.UpdateCurrentRow();
        }
        private void UpdateRow(DIC_NATIONALITY item, RowClickEventArgs e)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int rowIndex = e.RowIndex;

            advBandedGridView.SetRowCellValue(rowIndex, "Active", item.Active);
            advBandedGridView.SetRowCellValue(rowIndex, "NationalityCode", item.NationalityCode);
            advBandedGridView.SetRowCellValue(rowIndex, "NationalityName", item.NationalityName);
            advBandedGridView.SetRowCellValue(rowIndex, "Description", item.Description);
            advBandedGridView.UpdateCurrentRow();
        }
Beispiel #3
0
        private void UpdateRow(DIC_INFORMATIC item, RowClickEventArgs e)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int rowIndex = e.RowIndex;

            advBandedGridView.SetRowCellValue(rowIndex, "Active", item.Active);
            advBandedGridView.SetRowCellValue(rowIndex, "InformaticCode", item.InformaticCode);
            advBandedGridView.SetRowCellValue(rowIndex, "InformaticName", item.InformaticName);
            advBandedGridView.SetRowCellValue(rowIndex, "Description", item.Description);
            advBandedGridView.UpdateCurrentRow();
        }
Beispiel #4
0
        private void UpdateRow(DIC_DEGREE item, RowClickEventArgs e)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int rowIndex = e.RowIndex;

            advBandedGridView.SetRowCellValue(rowIndex, "Active", item.Active);
            advBandedGridView.SetRowCellValue(rowIndex, "DegreeCode", item.DegreeCode);
            advBandedGridView.SetRowCellValue(rowIndex, "DegreeName", item.DegreeName);
            advBandedGridView.SetRowCellValue(rowIndex, "Description", item.Description);
            advBandedGridView.UpdateCurrentRow();
        }
        private void UpdateRow(DIC_PROFESSIONAL item, RowClickEventArgs e)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int rowIndex = e.RowIndex;

            advBandedGridView.SetRowCellValue(rowIndex, "Active", item.Active);
            advBandedGridView.SetRowCellValue(rowIndex, "ProfessionalCode", item.ProfessionalCode);
            advBandedGridView.SetRowCellValue(rowIndex, "ProfessionalName", item.ProfessionalName);
            advBandedGridView.SetRowCellValue(rowIndex, "Description", item.Description);
            advBandedGridView.UpdateCurrentRow();
        }
Beispiel #6
0
        private void UpdateRow(DIC_POSITION item, RowClickEventArgs e)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int rowIndex = e.RowIndex;

            advBandedGridView.SetRowCellValue(rowIndex, "Active", item.Active);
            advBandedGridView.SetRowCellValue(rowIndex, "PositionCode", item.PositionCode);
            advBandedGridView.SetRowCellValue(rowIndex, "PositionName", item.PositionName);
            advBandedGridView.SetRowCellValue(rowIndex, "IsManager", item.IsManager);
            advBandedGridView.SetRowCellValue(rowIndex, "Description", item.Description);
            advBandedGridView.UpdateCurrentRow();
        }
Beispiel #7
0
        private void UpdateRow(DIC_HOSPITAL item, RowClickEventArgs e)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int rowIndex = e.RowIndex;

            advBandedGridView.SetRowCellValue(rowIndex, "Active", item.Active);
            advBandedGridView.SetRowCellValue(rowIndex, "HospitalCode", item.HospitalCode);
            advBandedGridView.SetRowCellValue(rowIndex, "ProvinceCode", item.ProvinceCode);
            advBandedGridView.SetRowCellValue(rowIndex, "HospitalName", item.HospitalName);
            advBandedGridView.SetRowCellValue(rowIndex, "Description", item.Description);
            advBandedGridView.UpdateCurrentRow();
        }
Beispiel #8
0
        private void UpdateRow(DIC_SCHOOL item, RowClickEventArgs e)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int rowIndex = e.RowIndex;

            advBandedGridView.SetRowCellValue(rowIndex, "Active", item.Active);
            advBandedGridView.SetRowCellValue(rowIndex, "SchoolCode", item.SchoolCode);
            advBandedGridView.SetRowCellValue(rowIndex, "SchoolName", item.SchoolName);
            advBandedGridView.SetRowCellValue(rowIndex, "Description", item.Description);
            advBandedGridView.UpdateCurrentRow();
            this.RaiseUpdatedEventHander(item);
        }
Beispiel #9
0
        private void AddRow(DIC_SALARY_RANK Item)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int focusedRowHandle = advBandedGridView.FocusedRowHandle;

            advBandedGridView.AddNewRow();
            focusedRowHandle = advBandedGridView.FocusedRowHandle;
            advBandedGridView.SetRowCellValue(focusedRowHandle, "RankCode", Item.RankCode);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "RankName", Item.RankName);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Description", Item.Description);
            advBandedGridView.UpdateCurrentRow();
        }
        private void AddRow(DIC_NATIONALITY Item)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int focusedRowHandle = advBandedGridView.FocusedRowHandle;

            advBandedGridView.AddNewRow();
            focusedRowHandle = advBandedGridView.FocusedRowHandle;
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Active", Item.Active);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "NationalityCode", Item.NationalityCode);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "NationalityName", Item.NationalityName);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Description", Item.Description);
            advBandedGridView.UpdateCurrentRow();
        }
Beispiel #11
0
        private void UpdateRow(DIC_ALLOWANCE item, RowClickEventArgs e)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int rowIndex = e.RowIndex;

            advBandedGridView.SetRowCellValue(rowIndex, "MaximumMoney", item.MaximumMoney);
            advBandedGridView.SetRowCellValue(rowIndex, "AllowanceCode", item.AllowanceCode);
            advBandedGridView.SetRowCellValue(rowIndex, "AllowanceName", item.AllowanceName);
            advBandedGridView.SetRowCellValue(rowIndex, "MaximumMoney", item.MaximumMoney);
            advBandedGridView.SetRowCellValue(rowIndex, "IncomeTaxValue", item.IncomeTaxValue);
            advBandedGridView.SetRowCellValue(rowIndex, "Description", item.Description);
            advBandedGridView.UpdateCurrentRow();
        }
Beispiel #12
0
        private void UpdateRow(DIC_SHIFT item, RowClickEventArgs e)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int rowIndex = e.RowIndex;

            advBandedGridView.SetRowCellValue(rowIndex, "BeginTime", item.BeginTime);
            advBandedGridView.SetRowCellValue(rowIndex, "EndTime", item.EndTime);
            advBandedGridView.SetRowCellValue(rowIndex, "ShiftCode", item.ShiftCode);
            advBandedGridView.SetRowCellValue(rowIndex, "ShiftName", item.ShiftName);
            advBandedGridView.SetRowCellValue(rowIndex, "Description", item.Description);
            advBandedGridView.UpdateCurrentRow();
            this.RaiseUpdatedEventHander(item);
        }
        private void AddRow(DIC_PROFESSIONAL Item)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int focusedRowHandle = advBandedGridView.FocusedRowHandle;

            advBandedGridView.AddNewRow();
            focusedRowHandle = advBandedGridView.FocusedRowHandle;
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Active", Item.Active);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "ProfessionalCode", Item.ProfessionalCode);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "ProfessionalName", Item.ProfessionalName);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Description", Item.Description);
            advBandedGridView.UpdateCurrentRow();
        }
Beispiel #14
0
        private void UpdateRow(DIC_SYMBOL item, RowClickEventArgs e)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int rowIndex = e.RowIndex;

            advBandedGridView.SetRowCellValue(rowIndex, "IsEdit", item.IsEdit);
            advBandedGridView.SetRowCellValue(rowIndex, "SymbolCode", item.SymbolCode);
            advBandedGridView.SetRowCellValue(rowIndex, "SymbolName", item.SymbolName);
            advBandedGridView.SetRowCellValue(rowIndex, "PercentSalary", item.PercentSalary);
            advBandedGridView.SetRowCellValue(rowIndex, "Description", item.Description);
            advBandedGridView.UpdateCurrentRow();
            this.RaiseUpdatedEventHander(item);
        }
Beispiel #15
0
        private void AddRow(DIC_INFORMATIC Item)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int focusedRowHandle = advBandedGridView.FocusedRowHandle;

            advBandedGridView.AddNewRow();
            focusedRowHandle = advBandedGridView.FocusedRowHandle;
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Active", Item.Active);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "InformaticCode", Item.InformaticCode);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "InformaticName", Item.InformaticName);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Description", Item.Description);
            advBandedGridView.UpdateCurrentRow();
        }
Beispiel #16
0
        private void AddRow(DIC_DEGREE Item)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int focusedRowHandle = advBandedGridView.FocusedRowHandle;

            advBandedGridView.AddNewRow();
            focusedRowHandle = advBandedGridView.FocusedRowHandle;
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Active", Item.Active);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "DegreeCode", Item.DegreeCode);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "DegreeName", Item.DegreeName);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Description", Item.Description);
            advBandedGridView.UpdateCurrentRow();
        }
Beispiel #17
0
        private void AddRow(DIC_SCHOOL Item)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int focusedRowHandle = advBandedGridView.FocusedRowHandle;

            advBandedGridView.AddNewRow();
            focusedRowHandle = advBandedGridView.FocusedRowHandle;
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Active", Item.Active);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "SchoolCode", Item.SchoolCode);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "SchoolName", Item.SchoolName);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Description", Item.Description);
            advBandedGridView.UpdateCurrentRow();
            this.RaiseAddedEventHander(Item);
        }
Beispiel #18
0
        private void UpdateRow(DIC_MACHINE item, RowClickEventArgs e)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int rowIndex = e.RowIndex;

            advBandedGridView.SetRowCellValue(rowIndex, "MachineCode", item.MachineCode);
            advBandedGridView.SetRowCellValue(rowIndex, "MachineName", item.MachineName);
            advBandedGridView.SetRowCellValue(rowIndex, "PortType", item.PortType);
            advBandedGridView.SetRowCellValue(rowIndex, "PortID", item.PortID);
            advBandedGridView.SetRowCellValue(rowIndex, "IP", item.IP);
            advBandedGridView.SetRowCellValue(rowIndex, "Com", item.Com);
            advBandedGridView.UpdateCurrentRow();
            this.RaiseUpdatedEventHander(item);
        }
Beispiel #19
0
        private void AddRow(DIC_POSITION Item)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int focusedRowHandle = advBandedGridView.FocusedRowHandle;

            advBandedGridView.AddNewRow();
            focusedRowHandle = advBandedGridView.FocusedRowHandle;
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Active", Item.Active);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "PositionCode", Item.PositionCode);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "PositionName", Item.PositionName);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "IsManager", Item.IsManager);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Description", Item.Description);
            advBandedGridView.UpdateCurrentRow();
        }
Beispiel #20
0
        private void AddRow(DIC_HOSPITAL Item)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int focusedRowHandle = advBandedGridView.FocusedRowHandle;

            advBandedGridView.AddNewRow();
            focusedRowHandle = advBandedGridView.FocusedRowHandle;
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Active", Item.Active);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "HospitalCode", Item.HospitalCode);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "ProvinceCode", Item.ProvinceCode);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "HospitalName", Item.HospitalName);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Description", Item.Description);
            advBandedGridView.UpdateCurrentRow();
        }
Beispiel #21
0
        private void UpdateRow(HRM_BRANCH item, RowClickEventArgs e)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int rowIndex = e.RowIndex;

            advBandedGridView.SetRowCellValue(rowIndex, "BranchCode", item.BranchCode);
            advBandedGridView.SetRowCellValue(rowIndex, "BranchName", item.BranchName);
            advBandedGridView.SetRowCellValue(rowIndex, "Address", item.Address);
            advBandedGridView.SetRowCellValue(rowIndex, "Phone", item.Phone);
            advBandedGridView.SetRowCellValue(rowIndex, "Fax", item.Fax);
            advBandedGridView.SetRowCellValue(rowIndex, "PersonName", item.PersonName);
            advBandedGridView.SetRowCellValue(rowIndex, "Quantity", item.Quantity);
            advBandedGridView.SetRowCellValue(rowIndex, "Description", item.Description);
            advBandedGridView.UpdateCurrentRow();
        }
Beispiel #22
0
        private void AddRow(DIC_SYMBOL Item)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int focusedRowHandle = advBandedGridView.FocusedRowHandle;

            advBandedGridView.AddNewRow();
            focusedRowHandle = advBandedGridView.FocusedRowHandle;
            advBandedGridView.SetRowCellValue(focusedRowHandle, "IsEdit", Item.IsEdit);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "SymbolCode", Item.SymbolCode);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "SymbolName", Item.SymbolName);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "PercentSalary", Item.PercentSalary);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Description", Item.Description);
            advBandedGridView.UpdateCurrentRow();
            this.RaiseAddedEventHander(Item);
        }
Beispiel #23
0
        private void AddRow(DIC_SHIFT Item)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int focusedRowHandle = advBandedGridView.FocusedRowHandle;

            advBandedGridView.AddNewRow();
            focusedRowHandle = advBandedGridView.FocusedRowHandle;
            advBandedGridView.SetRowCellValue(focusedRowHandle, "BeginTime", Item.BeginTime);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "EndTime", Item.EndTime);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "ShiftCode", Item.ShiftCode);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "ShiftName", Item.ShiftName);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Description", Item.Description);
            advBandedGridView.UpdateCurrentRow();
            this.RaiseAddedEventHander(Item);
        }
Beispiel #24
0
        private void AddRow(DIC_ALLOWANCE Item)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int focusedRowHandle = advBandedGridView.FocusedRowHandle;

            advBandedGridView.AddNewRow();
            focusedRowHandle = advBandedGridView.FocusedRowHandle;
            advBandedGridView.SetRowCellValue(focusedRowHandle, "MaximumMoney", Item.MaximumMoney);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "AllowanceCode", Item.AllowanceCode);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "AllowanceName", Item.AllowanceName);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "MaximumMoney", Item.MaximumMoney);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "IncomeTaxValue", Item.IncomeTaxValue);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Description", Item.Description);
            advBandedGridView.UpdateCurrentRow();
        }
Beispiel #25
0
        private void AddRow(DIC_MACHINE Item)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int focusedRowHandle = advBandedGridView.FocusedRowHandle;

            advBandedGridView.AddNewRow();
            focusedRowHandle = advBandedGridView.FocusedRowHandle;
            advBandedGridView.SetRowCellValue(focusedRowHandle, "MachineCode", Item.MachineCode);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "MachineName", Item.MachineName);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "PortType", Item.PortType);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "PortID", Item.PortID);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "IP", Item.IP);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Com", Item.Com);
            advBandedGridView.UpdateCurrentRow();
            this.RaiseAddedEventHander(Item);
        }
Beispiel #26
0
        public void UpdateRow(SYS_USER Item, CHBK2014_N9.Common.Class.RowClickEventArgs e)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int rowIndex = e.RowIndex;

            advBandedGridView.SetRowCellValue(rowIndex, "Active", Item.Active);
            advBandedGridView.SetRowCellValue(rowIndex, "UserID", Item.UserID);
            advBandedGridView.SetRowCellValue(rowIndex, "UserName", Item.UserName);
            SYS_GROUP sYSGROUP = new SYS_GROUP();

            sYSGROUP.Get(Item.Group_ID);
            advBandedGridView.SetRowCellValue(rowIndex, "Role_Name", sYSGROUP.Group_Name);
            advBandedGridView.SetRowCellValue(rowIndex, "EmployeeCode", Item.EmployeeCode);
            advBandedGridView.SetRowCellValue(rowIndex, "Description", Item.Description);
            advBandedGridView.SetRowCellValue(rowIndex, "Active", Item.Active);
            advBandedGridView.UpdateCurrentRow();
        }
Beispiel #27
0
        private void AddRow(HRM_BRANCH Item)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int focusedRowHandle = advBandedGridView.FocusedRowHandle;

            advBandedGridView.AddNewRow();
            focusedRowHandle = advBandedGridView.FocusedRowHandle;
            advBandedGridView.SetRowCellValue(focusedRowHandle, "BranchCode", Item.BranchCode);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "BranchName", Item.BranchName);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Address", Item.Address);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Phone", Item.Phone);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Fax", Item.Fax);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "PersonName", Item.PersonName);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Quantity", Item.Quantity);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Description", Item.Description);
            advBandedGridView.UpdateCurrentRow();
        }
Beispiel #28
0
        public void AddRow(SYS_USER Item)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int focusedRowHandle = advBandedGridView.FocusedRowHandle;

            advBandedGridView.AddNewRow();
            focusedRowHandle = advBandedGridView.FocusedRowHandle;
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Active", Item.Active);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "UserID", Item.UserID);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "UserName", Item.UserName);
            SYS_GROUP sYSGROUP = new SYS_GROUP();

            sYSGROUP.Get(Item.Group_ID);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Role_Name", sYSGROUP.Group_Name);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "EmployeeCode", Item.EmployeeCode);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Description", Item.Description);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Active", Item.Active);
            advBandedGridView.UpdateCurrentRow();
        }
        private void UpdateRow(HRM_SUBSIDIARY item, RowClickEventArgs e)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int rowIndex = e.RowIndex;

            advBandedGridView.SetRowCellValue(rowIndex, "SubsidiaryCode", item.SubsidiaryCode);
            advBandedGridView.SetRowCellValue(rowIndex, "SubsidiaryName", item.SubsidiaryName);
            advBandedGridView.SetRowCellValue(rowIndex, "Address", item.Address);
            advBandedGridView.SetRowCellValue(rowIndex, "Phone", item.Phone);
            advBandedGridView.SetRowCellValue(rowIndex, "Fax", item.Fax);
            advBandedGridView.SetRowCellValue(rowIndex, "WebSite", item.WebSite);
            advBandedGridView.SetRowCellValue(rowIndex, "Email", item.Email);
            advBandedGridView.SetRowCellValue(rowIndex, "Tax", item.Tax);
            advBandedGridView.SetRowCellValue(rowIndex, "BankAccount", item.BankAccount);
            advBandedGridView.SetRowCellValue(rowIndex, "OpenedAt", item.OpenedAt);
            advBandedGridView.SetRowCellValue(rowIndex, "BankAbbreviationName", item.BankAbbreviationName);
            advBandedGridView.SetRowCellValue(rowIndex, "BankBranch", item.BankBranch);
            advBandedGridView.SetRowCellValue(rowIndex, "PersonName", item.PersonName);
            advBandedGridView.SetRowCellValue(rowIndex, "Quantity", item.Quantity);
            advBandedGridView.SetRowCellValue(rowIndex, "Description", item.Description);
            advBandedGridView.UpdateCurrentRow();
        }
        private void AddRow(HRM_SUBSIDIARY Item)
        {
            AdvBandedGridView advBandedGridView = this.gbList;
            int focusedRowHandle = advBandedGridView.FocusedRowHandle;

            advBandedGridView.AddNewRow();
            focusedRowHandle = advBandedGridView.FocusedRowHandle;
            advBandedGridView.SetRowCellValue(focusedRowHandle, "SubsidiaryCode", Item.SubsidiaryCode);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "SubsidiaryName", Item.SubsidiaryName);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Address", Item.Address);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Phone", Item.Phone);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Fax", Item.Fax);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "WebSite", Item.WebSite);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Email", Item.Email);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Tax", Item.Tax);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "BankAccount", Item.BankAccount);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "OpenedAt", Item.OpenedAt);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "BankAbbreviationName", Item.BankAbbreviationName);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "BankBranch", Item.BankBranch);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "PersonName", Item.PersonName);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Quantity", Item.Quantity);
            advBandedGridView.SetRowCellValue(focusedRowHandle, "Description", Item.Description);
            advBandedGridView.UpdateCurrentRow();
        }