void llenarGrillaTipoSala() { SalaComponent tipoSalaComponent = new SalaComponent(); List <Sala> tipoSalas = new List <Sala>(); tipoSalas = tipoSalaComponent.ReadTipoSala(); txtTipo.DataSource = tipoSalas; txtTipo.DisplayMember = "tipoSala"; txtTipo.ValueMember = "id"; }