title: Render HTML tags in GridView Cell
body: <p>I have a gridview and i want to insert inside a cell a Panel in which inside i want to render html tags. Instead i see in the text the html tags. Any ideas?.</p>
  
  <pre><code>   protected void grdThreat_RowDataBound(object sender, GridViewRowEventArgs e)
  {
  
      if (e.Row.RowType == DataControlRowType.DataRow)
      {
          Panel mainPanel = new Panel(); 
          mainPanel.Controls.Add(new LiteralControl(e.Row.Cells[4].Text)); 
              e.Row.Cells[4].Controls.Add(mainPanel);
      }
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/7cxE5.png" alt="enter image description here"></p>