protected void Page_Load(object sender, EventArgs e)
 {
     daoAlbum   = new DaoAlbum();
     daoCancion = new DaoCancion();
     albums     = new List <Album>();
     canciones  = new List <Cancion>();
     for (int i = 0; i < 100; i++)
     {
         //ddlHoras.Items.Add(i+"");
     }
     for (int i = 0; i < 60; i++)
     {
         //ddlMinutos.Items.Add(i + "");
         //ddlSegundos.Items.Add(i + "");
     }
     chargeData();
 }
Exemplo n.º 2
0
        protected void Page_Load()
        {
            daoAlbum   = new DaoAlbum();
            daoCancion = new DaoCancion();
            string variable = "idAlbum";
            object idString = HttpContext.Current.Session[variable];

            btnChargeAlbum.Visible = false;
            if (idString != null)
            {
                string stringId = idString.ToString();
                id = long.Parse(stringId);
                if (id != -1)
                {
                    btnChargeAlbum.Visible = true;
                    chargeSongInfo();
                }
            }
        }