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

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

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