Exemplo n.º 1
0
    protected override void doExecute() {
      base.doExecute();

      var vBldr = new RmtThreadHandler(
        this.BioSession,
        "application/octet-stream", //"application/vnd.ms-excel",
        "report[" + this.bioCode + "]");
        vBldr.OnRunEvent += this._doOnRunEventXls;
      vBldr.DoExecute(this.BioRequest<RmtClientRequest>().cmd, this.bioParams);
    }
Exemplo n.º 2
0
   protected override void doExecute() {
      base.doExecute();

      var expTypeStr = this.getQParamValue("exptype", false);
      if (String.IsNullOrEmpty(expTypeStr))
        expTypeStr = "xls";
      var bldr = new RmtThreadHandler(
          this.BioSession,
          "application/octet-stream",
          "report[" + this.bioCode + "]");
        if (expTypeStr == "xls")
          bldr.OnRunEvent += this._doOnRunEventXls;
        else if (expTypeStr == "csv")
          bldr.OnRunEvent += this._doOnRunEventCsv;
        bldr.DoExecute(this.BioRequest<RmtClientRequest>().cmd, this.bioParams);
    }