将水晶报表导出到excel [英] export crystal report to excel

查看:77
本文介绍了将水晶报表导出到excel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个问题,没人能帮助我.

我有一个Web应用程序项目,并且使用了水晶报表vs2008进行报表.我需要将报告导出到excel.

运行项目时,一切都可以,但是当我在服务器客户端上设置项目时,可以访问所有页面,但是当按下按钮以报告我设计的页面时,会出现错误.

我在服务器上没有任何问题,并且项目可以正确运行.

我能做些什么?有人可以帮我吗?

非常感谢.

Hi Everybody,

I have a question that nobody could help me with.

I have a web application project and I have used crystal report vs2008 to have report. I need to export the report to excel.

Eveything is ok when I run my project, but when I set up my project on server clients can access all pages, but when press the button to have report the page that I designed, there is an error.

I don''t have any problem on server and project run correctly.

What can I do? Can anybody help me please?

Many thanks.

推荐答案

导出为ex​​cel! :)

Exporting to excel! :)

reportClass.ExportToHttpResponse(
                        CrystalDecisions.Shared.ExportFormatType.Excel,
                        Response, true, reportClass.ReportOptions.InitialReportPartName);



并在服务器migth上运行是安全性之类的事情!使用asp.net



and running on server migth be security or something like that! check for security in server side with asp.net


这篇关于将水晶报表导出到excel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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