Пример #1
0
        void llenarGrillaTipoSala()
        {
            SalaComponent tipoSalaComponent = new SalaComponent();
            List <Sala>   tipoSalas         = new List <Sala>();

            tipoSalas = tipoSalaComponent.ReadTipoSala();


            txtTipo.DataSource    = tipoSalas;
            txtTipo.DisplayMember = "tipoSala";
            txtTipo.ValueMember   = "id";
        }