Пример #1
0
        private void Productos_Load(object sender, EventArgs e)
        {
            //Agregar datos al combo box clientre
            DataTable datoscli = new DataTable();

            datoscli = prod.nomprod();
            TxtProdNom.AutoCompleteCustomSource = prod.Productos();
            TxtProdNom.AutoCompleteMode         = AutoCompleteMode.Suggest;
            TxtProdNom.AutoCompleteSource       = AutoCompleteSource.CustomSource;
        }