1 year ago
#41088
Antony
Change the value of a text box from code VB.NET in Report Viewer Reports
I have a report drawn through SSRB 3.0. The report is of the .rdl type so through VB.NET code and Report Viewer is hooked and displayed. The data set is managed dynamically so that records can be filtered according to the user's needs.
The report is very simple has:
- a page header with a text box (TestataREp) with the value: 'ACTIVITY LIST';
- in the body a table that displays the records according to the dataset;
- a footer with the numbering of the pages.
Since the data to be displayed are filtered according to the user's choices, I would like to be able to dynamically change the value of the textbox (the Header) in the page header or with another text box as a dynamically editable subtitle from code vb.net, but I do not know how to do it.
In practice I would like, for example, that the header could be changed, via code vb.net, from 'ACTIVITY LIST' to 'ACTIVITY LIST of the xxxx group' or in 'LiSTA PERSONAL ACTIVITIES' etc. etc. I don't know if I could explain myself. Thank you for any useful advice.
vb.net
rdl
0 Answers
Your Answer