HTML tags in Content
<p>I'm implementing full text search on a table named as <code>tbljobs</code> on the cloumn named as <code>jobdescription</code>. In front end I'm getting html tags in the description. I'm showing the records in <code>GridView</code> and on <code>Gridview</code>'s <code>RowDataBound</code> enent I'm decoding the text. I'm using the following code on <code>Gridview</code>'s <code>RowDataBound</code> event:</p>

<pre><code>protected void GridNewlyPostedJobs_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
 string decodedText =      HttpUtility.HtmlDecode(((Label)e.Row.FindControl("lblJobDescription")).Text);
            ((Label)e.Row.FindControl("lblJobDescription")).Text = decodedText;
         }
    }
</code></pre>

<p>But nothing works..!!</p>
