private void btQuery_Click(object sender, EventArgs e) { CustomersListBLL GetCustomersQuery = new CustomersListBLL(); dataGridView1.DataSource = GetCustomersQuery.CustomersListData(); }
private void LoadCustomers() { CustomersListBLL GetCustomerQuery = new CustomersListBLL(); dataGridView1.DataSource = GetCustomerQuery.CustomersListData(); }