private void BindingSource(PfAccountRecordPage listPage) { if (listPage != null && listPage.PfAccountRecords != null && listPage.PfAccountRecords.Count > 0) { foreach (var item in listPage.PfAccountRecords) { item.PfCustomerName = PfCustomerCache.GetPfCustomerName(item.PfCustomerID); item.AccountTypeName = GlobalUtil.GetPfAccountTypeName(item.AccountType); //item.AdminUserName = PfCustomerCache.GetUserNameWithPf(item.AdminUserID); } } this.dataGridViewPagingSumCtrl.BindingDataSource(listPage?.PfAccountRecords, null, listPage?.TotalEntityCount, listPage?.Sum); }