hide empty textbox

Stimulsoft Reports.NET discussion
nezarabd
Posts: 32
Joined: Tue Sep 30, 2014 1:38 pm

Re: hide empty textbox

Post by nezarabd »

If DataSource1("stu_name") = DBNull.Value Then

End If

i'm using.vb.net

but give me error

Error 3 'DataSource1' is not declared. It may be inaccessible due to its protection level.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: hide empty textbox

Post by Alex K. »

Hello,

Please clarify in which place you are use this code.
Please see the screenshot in the attachment.

Thank you.
Attachments
Capture.PNG
Capture.PNG (57.24 KiB) Viewed 2923 times
nezarabd
Posts: 32
Joined: Tue Sep 30, 2014 1:38 pm

Re: hide empty textbox

Post by nezarabd »

thanks
stimulsoft is better than xtrareport and better than crystal report
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: hide empty textbox

Post by Alex K. »

Hello,

We are always glad to help you!
edwin
Posts: 1
Joined: Wed Apr 15, 2015 1:50 am

hide empty label

Post by edwin »

hello,i need to hide a label when the data is empty, what should i do?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: hide empty textbox

Post by HighAley »

Hello.

You could add a condition like on image above.

Thank you.
Post Reply