public void FillDG() { this.dgCustomers.Items.Clear(); List <Customer> customers = dr.FillCustomersList(); foreach (Customer customer in customers) { this.dgCustomers.Items.Add(customer); } }