sql server - Adding and Naming TABS to excel reports in Microsoft Reporting Services -
In Microsoft Reporting Services, I want to name the tab for the document as a result of the excel report generated. / P>
Do anyone know how I can do this?
The web front end (which went crazy by using the Report Weaver Web Control), I realized That SSRS gives data as a byte array that you can then process. So you can capture in the NIT in the stream that you can write in a way that does this:
Private byte [] Export Stream (Type string stream, outside string mime type , Outside string extension) {Microsoft.Reporting.WebForms. Warning [] warning; String [] streams; String encoding; String DeviceInfo = "DeviceInfo"> True Byte [] bytes = ReportVideoClient Report. Server Report .Renderer (Stream Type, DeviceInfo, MimeType, Out Encoding, Out Extensions, Out Strides, Out Alerts); Return bytes; } With this method, you can make the output process later as well as some bytes from the excellent NPO library or any type of storage stream, so you can do whatever you want.
In addition - Note that the SSRS (SQL Server Reporting Services) R2 will have this feature, but it is about May 2010.
Comments
Post a Comment