CJLeit Posted September 15, 2006 Posted September 15, 2006 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! Quote
Malfunction Posted September 15, 2006 Posted September 15, 2006 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> ? Quote Debug me...
ashutosh9910 Posted September 15, 2006 Posted September 15, 2006 labels will always render html tags properly. eg - label1.text = <B>Boldtext<B> the label will not show <B>Boldtext<B> but Boldtext Quote http://vyasashutosh.blogspot.com
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.