//Отбор клиентов по стране private void filterCountryBtn_Click(object sender, EventArgs e) { try { clientName.Text = ""; DBConnection.FilterCountry(country.SelectedValue.ToString()); clientsTable.DataSource = DBConnection.dtClients; if (DBConnection.dtClients.Rows.Count > 0) { ReadClientsTableRow(0); } } catch (Exception ex) { exceptPanel.Visible = true; richTextBox1.Text = ex.ToString(); } }