Sunday, April 5, 2009

HtmlDecode asp.net C# code sample

Add following on top  HtmlDecode

using System.Text;
using System.IO;

Code

string strReview = nRev.InnerXml;
StringWriter writer = new StringWriter();
Server.HtmlDecode(strReview, writer);
strDet = writer.ToString();

No comments: