Friday, March 9, 2012

How to use DisplayName in report

I use the new feature of VS2005 to develp LocalReport.
I have set the DisplayName of a LocalReport like this:
ReportViewer1.LocalReport.DisplayName = sDisplayName;
It will change the top node of the Document Map.
How can I bring the DisplayName into the report, for example I want to show
the DisplayName in the footer of the report too.Create a report parameter that is hidden and assign your variable to this
parameter as the default value. Now you can use this information anywhere.

No comments:

Post a Comment