private void schLang_changee(object sender, EventArgs e) { int idOfLanguages = DBConnection.GetLanguagesID(schLang.Text); DataTable dt = DBConnection.SelectWorkersByLanguages(idOfLanguages); dataGridView1.DataSource = dt; }