Display HMTL in label

CJLeit

Freshman
Joined
Feb 1, 2006
Messages
32
Hello,

I have a field in a database that contains text with HTML formatting included. How can I get a label or textbox to display the formatting instead of the actual HTML tag. For example my record contains '<B>Catalog</B>'. How can I get it to bold the world catalog instead of just printing out my tags?

Thanks!
 
you will have to parse the data yourself and set the control's attributes.<b>makes sense but what should the textboxor label display when entering a <hr> ?
 
labels will always render html tags properly.

eg - label1.text = <B>Boldtext<B>

the label will not show <B>Boldtext<B> but Boldtext
 
Back
Top