水晶报表导出按钮自定义 [英] Crystal Report Export button customization

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

问题描述

如何使我们的报告成为自动保存,并以递增的数字作为报告名称.....

How to make our report become auto save with incrementing number as the report name.....

推荐答案

从数据库动态提供报告名称并将其导出到
Give report name dynamically from database and export it to the disk directly.


string strFileName = "Report_" + fnIncrementNumber().ToString();//Custom function to increment the value(use XML or database for your increment condition)
reportDocument.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, false, strFileName);



进一步阅读
ReportDocument.ExportToHttpResponse方法 [



Further Reading
ReportDocument.ExportToHttpResponse Method[^]


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

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