示例#1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                string stLogin    = string.Empty;
                string stPassword = string.Empty;
                if (Request.QueryString["stLogin"] != null && Request.QueryString["stPassword"] != null)
                {
                    stLogin = Request.QueryString["stLogin"].ToString();
                }


                if (Session["SessionEmailAdministrador"] != null)
                {
                    stLogin = Session["SessionEmailAdministrador"].ToString();
                }
                else
                {
                    Response.Redirect("../LoginAdministrador/LoginAdministrador.aspx");
                }

                logica.BL.clsMusica clsMusica  = new logica.BL.clsMusica();
                DataSet             dsConsulta = clsMusica.getDepartamentoDatos(-1);

                clsMusica.CargarControl(ref ddlDepartamento, dsConsulta, "depaCodigo", "depaNombre", "-1", "<<Todos>>");
                getMusica();
            }
        }
示例#2
0
 public String setAdministarMusicaController(logica.Models.clsMusica obclsMusicaModels, int inOpcion)
 {
     try
     {
         logica.BL.clsMusica obclsMusica = new logica.BL.clsMusica();
         return(obclsMusica.setAdministrarMusica(obclsMusicaModels, inOpcion));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
示例#3
0
 public DataSet getConsultarMusicaController()
 {
     try
     {
         logica.BL.clsMusica obclsMusica = new logica.BL.clsMusica();
         return(obclsMusica.getConsultarMusica());
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }