Android Question What could stop a label.text property from being assigned to?

DeviousD

Member
Licensed User
Longtime User
Hi All.,

A really strange case of don't know what the heck is going on.

lblClient.Text = "Client " & CRLF & rs.GetString("company") & CRLF & rs.GetString("companyaddress")

the above code does not over-write the designers text property.

If you log the data, its perfect, reading from a sqlDb, labels work fine, BUT somehow, even after deleting this label and creating a new one in case a previous copy and paste may have "corrupted" it also does not work.

What would be a cause of the property almost being read-only and no exception or warning is returned, its JUST ignored..

Is "Client " a reserved work or the like....

Really puzzling to me... Any suggestions welcome to solve this conundrum..

thanks for the help..
 
Try changing the label text to a standard string just to see if it changes.

Try building your string with stringbuilder and checking it's value before assigning it to the label.
 
Upvote 0
Back
Top