public ArrayList FetchDepartamentos()
        {
            InmueblesBLL bllInmuebles = new InmueblesBLL();
            Inmueble     objInmueble  = new Inmueble();
            ArrayList    mailItems    = new ArrayList();
            DataTable    dt           = bllInmuebles.SeleccionaTiposDeInmueblesPorPadre("DEPARTAMENTO");



            foreach (DataRow r in dt.Rows)
            {
                string g = r.Field <String>("NombreMenu");
                // string h = r.Field<String>("IdTipoDeInmueble");
                //mailItems.Add(new { Name = r.Field<String>("NombreMenu") + " (" + bllInmuebles.SeleccionaCantidadInmuebles(Convert.ToInt32(r.Field<int>("IdTipoDeInmueble"))) + ")", ImageUrl = "img/inbox.gif" });
                mailItems.Add(new { Name = r.Field <String>("NombreMenu"), ImageUrl = "img/inbox.gif" });
            }


            //mailItems.Add(new { Name = "DE PASILLO (" + bllInmuebles.SeleccionaCantidadInmuebles(1) + ")", ImageUrl = "img/mailbox.gif" });
            //mailItems.Add(new { Name = "AMUEBLADOS (" + bllInmuebles.SeleccionaCantidadInmuebles(2) + ")", ImageUrl = "img/mailbox.gif" });
            //mailItems.Add(new { Name = "1 AMBIENTE (" + bllInmuebles.SeleccionaCantidadInmuebles(3) + ")", ImageUrl = "img/mailbox.gif" });
            //mailItems.Add(new { Name = "1 DORMITORIO (" + bllInmuebles.SeleccionaCantidadInmuebles(4) + ")", ImageUrl = "img/inbox.gif" });
            //mailItems.Add(new { Name = "2 DORMITORIOS (" + bllInmuebles.SeleccionaCantidadInmuebles(5) + ")", ImageUrl = "img/drafts.gif" });
            //mailItems.Add(new { Name = "3 DORMITORIOS (" + bllInmuebles.SeleccionaCantidadInmuebles(6) + ")", ImageUrl = "img/outbox.gif" });
            //mailItems.Add(new { Name = "4 DORMITORIOS O MAS (" + bllInmuebles.SeleccionaCantidadInmuebles(7) + ")", ImageUrl = "img/junk.gif" });

            return(mailItems);
        }
        public ArrayList FetchOtrosInmuebles()
        {
            ArrayList    mailItems    = new ArrayList();
            InmueblesBLL bllInmuebles = new InmueblesBLL();
            Inmueble     objInmueble  = new Inmueble();
            DataTable    dt           = bllInmuebles.SeleccionaTiposDeInmueblesPorPadre("OTRO");



            foreach (DataRow r in dt.Rows)
            {
                string g = r.Field <String>("NombreMenu");
                // string h = r.Field<String>("IdTipoDeInmueble");
                //mailItems.Add(new { Name = r.Field<String>("NombreMenu") + " (" + bllInmuebles.SeleccionaCantidadInmuebles(Convert.ToInt32(r.Field<int>("IdTipoDeInmueble"))) + ")", ImageUrl = "img/inbox.gif" });
                mailItems.Add(new { Name = r.Field <String>("NombreMenu"), ImageUrl = "img/inbox.gif" });
            }

            //mailItems.Add(new { Name = "COCHERAS (" + bllInmuebles.SeleccionaCantidadInmuebles(12) + ")", ImageUrl = "img/mailbox.gif" });
            //mailItems.Add(new { Name = "DEPOSITOS Y GALPONES (" + bllInmuebles.SeleccionaCantidadInmuebles(13) + ")", ImageUrl = "img/mailbox.gif" });
            //mailItems.Add(new { Name = "HOTELES, PENSIONES Y PIEZAS (" + bllInmuebles.SeleccionaCantidadInmuebles(14) + ")", ImageUrl = "img/mailbox.gif" });
            //mailItems.Add(new { Name = "LOCALES COMERCIALES,INDUSTRIALES Y OFICINAS (" + bllInmuebles.SeleccionaCantidadInmuebles(15) + ")", ImageUrl = "img/mailbox.gif" });
            //mailItems.Add(new { Name = "TERRENOS (" + bllInmuebles.SeleccionaCantidadInmuebles(16) + ")", ImageUrl = "img/mailbox.gif" });

            return(mailItems);
        }
        public ArrayList FetchCasas()
        {
            InmueblesBLL bllInmuebles = new InmueblesBLL();
            Inmueble     objInmueble  = new Inmueble();
            ArrayList    mailItems    = new ArrayList();
            DataTable    dt           = bllInmuebles.SeleccionaTiposDeInmueblesPorPadre("CASA");



            foreach (DataRow r in dt.Rows)
            {
                string g = r.Field <String>("NombreMenu");
                // string h = r.Field<String>("IdTipoDeInmueble");
                //mailItems.Add(new { Name = r.Field<String>("NombreMenu") + " (" + bllInmuebles.SeleccionaCantidadInmuebles(Convert.ToInt32(r.Field<int>("IdTipoDeInmueble"))) + ")", ImageUrl = "img/inbox.gif" });
                mailItems.Add(new { Name = r.Field <String>("NombreMenu"), ImageUrl = "img/inbox.gif" });
            }

            //mailItems.Add(new { Name = "1 DORMITORIO (" + bllInmuebles.SeleccionaCantidadInmuebles(8) + ")", ImageUrl = "img/inbox.gif" });
            //mailItems.Add(new { Name = "2 DORMITORIOS (" + bllInmuebles.SeleccionaCantidadInmuebles(9) + ")", ImageUrl = "img/drafts.gif" });
            //mailItems.Add(new { Name = "3 DORMITORIOS (" + bllInmuebles.SeleccionaCantidadInmuebles(10) + ")", ImageUrl = "img/outbox.gif" });
            //mailItems.Add(new { Name = "4 DORMITORIOS O MAS (" + bllInmuebles.SeleccionaCantidadInmuebles(11) + ")", ImageUrl = "img/junk.gif" });

            return(mailItems);
        }