data containing html tags appears in gridview

J

jamesd

I have a sql sprocedure that has html tags wrapped around the data it
returns.

In the past, using the old .net datagrid the browser would render the
html correctly.

Now, using the datagrid, the datagrid replaces all the html tags with
&quot, &lt &gt characters. Therefore the html cannot be rendered
correctly.

I need a solution so the data given to the gridview will display
exactly as it is given, and not be "rewritten" by the datagrid. I
can't use templatecolumns or anything like that because the columns
returned by the database change dynamically!

Thanks,
Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top