private void CarregaDados() { dataGridView1.DataSource = ConexaoBDRepository.GetDataTable <SQLiteConnection, SQLiteDataAdapter>("Select * from conexaoBD order by NomeServidor"); }
private void textBoxLocaliza_TextChanged(object sender, EventArgs e) { string qry = $"Select * from conexaoBD where NomeServidor like '%{textBoxLocaliza.Text}%'"; dataGridView1.DataSource = ConexaoBDRepository.GetDataTable <SQLiteConnection, SQLiteDataAdapter>(qry); }