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(); } }
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; } }
public DataSet getConsultarMusicaController() { try { logica.BL.clsMusica obclsMusica = new logica.BL.clsMusica(); return(obclsMusica.getConsultarMusica()); } catch (Exception ex) { throw ex; } }