Crystal Report使用外部按钮将过滤的数据导出到Excel [英] Crystal Report Export Filtered Data to Excel using external button

查看:68
本文介绍了Crystal Report使用外部按钮将过滤的数据导出到Excel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



我正在使用带有一些过滤查询的水晶报告显示报告。

我想将过滤后的数据导出到excel使用外部按钮。

我试过以下代码:



Hello,

I am showing a report using crystal report with some filter query.
I want to export filtered data to excel using external button.
I have tried following code :

myreport.ExportToHttpResponse(CrystalDecisions.Shared.ExportFormatType.Excel, Response, True, "filename")





导出完整数据而不是过滤数据。



It exports the complete data not filtered data.

推荐答案

这篇关于Crystal Report使用外部按钮将过滤的数据导出到Excel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆