tags:

views:

64

answers:

2

I got HTML tags saved in column as :

<p><strong>Alva Beach Markets from 8.00am to 1.00pm.&#160; For more information contact Monika Chapple on 0428 649 472.</strong></p>

But when bind it to Label out is showing whole HTML tags instead the inner text.

How should i parse this before binding to label control.

Thanks

+5  A: 

Use the literal control not a label. The label control ignores markup and spits out exactly what it is given as text. The literal will return the HTML.

klabranche
+1 That's just helped me out on something :-)
PhilPursglove
A: 

Weird, someone had replied with 'use a literal control', but their post is gone now. Anyway, what's what you should do.

-- Edit:

And now it's back again. Disregard me.

Noon Silk
Don't feel crazy... I actually deleted it and then undeleted it just as fast.
klabranche