Wednesday, March 21, 2012

Report Viewer

Is there a report viewer that I can use in a windows based application, not a
web application. If there is, where can I find it.With Widbey (Visual Studio) beta 2 they have both a winform and webform
control. Until then the only option is to either use webservices and render
it and show with something (i.e. render and show in IE control or render as
PDF and view it). Or use and IE control and use URL integration.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Chris Arnold" <ChrisArnold@.discussions.microsoft.com> wrote in message
news:6FAF10A6-E889-464D-8ECC-C66F921BF618@.microsoft.com...
> Is there a report viewer that I can use in a windows based application,
not a
> web application. If there is, where can I find it.|||You can get a byte array of a report's output by using Reporting Services
Render() method.
Now you have plenty of options.
You can use windows IE browser control and after encoding byte array to a
char[] array just display output inside of the control.
Or you can save it as a file, if you'd like, with a random guid like name in
a temp directory and set it as a source file of your browser compnent.
About the same appoach applicable to the pdf control from Adobe or MS office
windows components.
"Chris Arnold" <ChrisArnold@.discussions.microsoft.com> wrote in message
news:6FAF10A6-E889-464D-8ECC-C66F921BF618@.microsoft.com...
> Is there a report viewer that I can use in a windows based application,
> not a
> web application. If there is, where can I find it.|||Have you looked at:
C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
Services\Samples\Applications\ReportViewer
--
Regards
<<<Bryan Avery>>
"Chris Arnold" wrote:
> Is there a report viewer that I can use in a windows based application, not a
> web application. If there is, where can I find it.

No comments:

Post a Comment