Problem with Visible Property in DataList

S

SteveB

I want to change the Visible Property of a label within the
ItemProperty
The labels are used for address data. If the Text property of the
label is not blank the Visible Property should be set to true. I set
the default property to false at design time. I am using a for loop to
go through the labels and set the Visible Property. The problem is
that once I set a label to true it does not reset to false. I have
tried an else. Still no luck.

Any help would be appreciated. I am writing this from home. I can send
a copy of the code from work if it would help answer the question.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,141
Messages
2,570,816
Members
47,361
Latest member
RogerDuabe

Latest Threads

Top