Showing posts with label displaying. Show all posts
Showing posts with label displaying. Show all posts

Monday, March 26, 2012

getresourcecontents

Could someone give me an example of displaying reporting services resources via a treeview using the getresourcecontents method?

Sorted this now

Dim rs As New ReportingService
Dim myByteArray() As Byte
myByteArray = rs.GetResourceContents(strResourcePath, "application/vnd.ms-excel")
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader("content-disposition", "attachment; filename=Myxls.xls")
Response.BinaryWrite(myByteArray)

Sunday, February 19, 2012

Get Page Count of Crystal Report in C#

Hi,
I am displaying my crystal report in a Crystal Report Viewer.
How can I get the value of the number of pages in the Crystal Report?
thank you.
CRWhen you design the Crystal Report, you can go to Insert --> Special
Fields..., you can select either Page N of M, or Total Page Count.
Hope this will help.
Perayu
"CodeRazor" <CodeRazor@.discussions.microsoft.com> wrote in message
news:3C96E5C9-9AAC-4D45-8C3A-1D3DF25FB274@.microsoft.com...
> Hi,
> I am displaying my crystal report in a Crystal Report Viewer.
> How can I get the value of the number of pages in the Crystal Report?
> thank you.
> CR|||The only Crystal Reports related Micrsoft newsgroup is:
microsoft.public.vb.crystal
"CodeRazor" <CodeRazor@.discussions.microsoft.com> wrote in message
news:3C96E5C9-9AAC-4D45-8C3A-1D3DF25FB274@.microsoft.com...
> Hi,
> I am displaying my crystal report in a Crystal Report Viewer.
> How can I get the value of the number of pages in the Crystal Report?
> thank you.
> CR