コード例 #1
0
 public void ProcessRequest(HttpContext context)
 {
     decimal id = Convert.ToDecimal(context.Request.QueryString["id"]);
     GestionDOC gs = new GestionDOC();
     GD_DOCUMENTOSDTO dto= gs.GetDOC(id);
     string Adjunto = String.Format("inline; filename=Documento_{0}.pdf",id);
     context.Response.AddHeader("content-disposition", Adjunto);
     context.Response.ContentType = dto.TYPE;
     context.Response.BinaryWrite(dto.DOCUMENTO);
 }
コード例 #2
0
        public string GetBandejaJ()
        {
            GestionDOC gd = new GestionDOC();

            return ByAUtil.convertListToXML(gd.GetBandeja(Usuario.UserName));
        }