Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to make our report become auto save with incrementing number as the report name.....
Posted
Comments
Sander Rossel 15-Nov-11 6:59am    
Question not clear.

Give report name dynamically from database and export it to the disk directly.
 
Share this answer
 
C#
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);


Further Reading
ReportDocument.ExportToHttpResponse Method[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900