Exemplo n.º 1
0
    protected void btnDownload_Click(object sender, EventArgs e)
    {
        ReportMachine RM = new ReportMachine();

        RM.Run(ApplyType.匯出xls, Path.GetFileNameWithoutExtension(Request.PhysicalPath).Split('_')[0]
               , "1111", 1, 1, new Dictionary <string, object>(), (data) => { });
    }
Exemplo n.º 2
0
    protected new void Page_Load(object sender, EventArgs e)
    {
        base.AllowHttpMethod("GET", "POST");
        base.DisableTop(false);

        ReportMachine RM = new ReportMachine();

        RM.Run(ApplyType.預覽列印, Path.GetFileNameWithoutExtension(Request.PhysicalPath).Split('_')[0]
               , "1111", 1, 1, new Dictionary <string, object>()
               , (data) => { tbData = data; });
    }
Exemplo n.º 3
0
    protected void btnDownload_Click(object sender, EventArgs e)
    {
        ReportMachine RM = new ReportMachine();

        RM.Run(ApplyType.匯出xls, "", "1111", 1, 1, new Dictionary <string, object>());
    }
    protected new void Page_Load(object sender, EventArgs e)
    {
        ReportMachine RM = new ReportMachine();

        RM.Run(ApplyType.匯出xls, "", "1111", 1, 1, new Dictionary <string, object>(), (data) => { tbData = data; });
    }