Problem:
In C#.net 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
Solution:
select txtAmtLabel 's visibility property>Hidden under visibility>change 'False' value with the following expression:
=IIf( Fields!txtAmtValue.Value.ToString()="",True,False)
In C#.net 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
Solution:
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