Пример #1
0
        private void textBox5_TextChanged(object sender, EventArgs e)
        {
            string campo = "Nombre";

            DAO.AviosDAO aviosdao = new GrupoSM_Recepcion.DAO.AviosDAO();
            DataView     dv;

            dv                       = new DataView(aviosdao.devuelvealmacenavio());
            dv.RowFilter             = campo + " like '%" + textBox5.Text + "%'";
            dataGridView2.DataSource = dv;
        }