469,578 Members | 1,914 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,578 developers. It's quick & easy.

Removing HTML characters while retreiving data from the database

Hello,

I have to retrive 2 columns from the database which have HTML
characters like &lt; &gt; (the less than"<" and greater than sign
">")in their data.

Is there any function in C# which can do this to convert these
characters back to "<" and ">" signs.

Please tell me asap.
Nov 15 '05 #1
2 1649
Renuka wrote:
Hello,

I have to retrive 2 columns from the database which have HTML
characters like &lt; &gt; (the less than"<" and greater than sign
">")in their data.

Is there any function in C# which can do this to convert these
characters back to "<" and ">" signs.


public static string HtmlDecode(string);

Vadim Chekan.

Nov 15 '05 #2


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by stuart | last post: by
2 posts views Thread by Raja Kannan | last post: by
5 posts views Thread by Isa Janfada | last post: by
4 posts views Thread by clickon | last post: by
27 posts views Thread by prt7u | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.