problems emitting HTML coding ...

Stacey Levine <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <A48E95FB3D4D02449554AE952F3B3E4702FC3FFF@vmcexchng.www.musicforasong.net>
I testing something with a mobile webform. I am trying to test whether I
can emit a table.  So I dropped a label on the form and I wanted to set
the text of the label to my code.  Unfortunatley, it is HTML Encoding it
(apparently), because it is converting the < to &lt and the > to &gt...
so .. any ideas how I can do this? I thought I had done this before, but
can't remember how.

 

String str = "<table width=100 border =0><tr><td>test</td><td> another
value </td><tr><td>line 2</td><td> line 2 value</td></tr></table>";

        lblToday.Text = str;

 

Stacey 

 


===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.