private void textBox8_TextChanged(object sender, EventArgs e)
        {
            try
            {
                string           campo        = "Nombre";
                DAO.CatalogosDAO catalogosdao = new EquimarFac.DAO.CatalogosDAO();


                DataView dv = new DataView(catalogosdao.devuelvenavieras());
                dv.RowFilter = campo + " like '%" + textBox8.Text + "%'";

                dataGridView1.DataSource = dv;
            }
            catch
            {
            }
        }
 private void NavierasBusqueda_Load(object sender, EventArgs e)
 {
     DAO.CatalogosDAO catalogos = new EquimarFac.DAO.CatalogosDAO();
     dataGridView1.DataSource = catalogos.devuelvenavieras();
 }
Exemple #3
0
 public void actualizagrid()
 {
     DAO.CatalogosDAO catalogosdao = new EquimarFac.DAO.CatalogosDAO();
     dataGridView1.DataSource = catalogosdao.devuelvenavieras();
 }