private void txtbuscN_TextChanged(object sender, EventArgs e) { try { if (txtbuscN.Text != "") { dgv.DataSource = sql.Buscar(txtbuscN.Text); } else { dgv.DataSource = sql.Mostradatos(); } } catch (Exception llll) { MessageBox.Show("Algo va Mal..." + llll); } }