private void btnSearch_Click( object sender, EventArgs e ) { Customer customer = Customer.GetCustomer(txtSearchBox.Text); ddlCountries.SelectedValue = customer.Country; customersByCountryBS.DataSource = Customer.GetCustomers(customer.Country); int index = 1; foreach (Customer c in Customer.GetCustomers(customer.Country)) { if (c.CustomerID != customer.CustomerID) { index++; } } customersByCountryBS.Position = index; }