How to set a Text for textbox through code in Report designer
Hi,
Is it possible to set up a text of Textbox through C# code inside report designer?
I am using the following:
((TextBox)rpt.Sections["detail"].Controls["TextBox3"]).Text="ABC";
but its not updating the text.
Any ideas?
Thanks,
Ss
0
-
Try the following:
((DataDynamics.ActiveReports.TextBox)rpt.Sections["Detail"].Controls["TextBox3"]).Value = "ABC";
It works for me.
0
Please sign in to leave a comment.
Comments
1 comment