Saturday, August 6, 2011

Make textbox visibility false in report.rdlc

In report.rdlc, I have 2 textboxes txtAmtLabel with text "Amount" and other txtAmtValue with value of the amount from the database. How can I make the  textbox txtAmtLabel visibilty false if txtAmtValue is null


select txtAmtLabel 's visibility property>Hidden under visibility>change 'False' value with the following expression:

=IIf( Fields!txtAmtValue.Value.ToString()="",True,False)

No comments:

Post a Comment