コード例 #1
0
        private void TextBox1_TextChanged(object sender, EventArgs e)
        {
            MarcaEntity objEnt = new MarcaEntity();

            objEnt.Nombre = textBox1.Text.Trim();
            if (textBox1.Text.Length > 0)
            {
                objMarcaController.ListForName(dgvMarca, objEnt);
            }
            else
            {
                objMarcaController.List(dgvMarca);
            }
        }