title: how to have one of the column in gridview to be an image?
body: <p>I have a gridview that gets created in codebehind.</p>
  
  <p>In the below code, I would like to have 3rd column to be some image (Example: PDF icon or similar).</p>
  
  <p>I am thinking <code>Type.GetType</code> needs to be changed for column named "Image"?? </p>
  
  <pre><code>DataTable dt = new DataTable();
  GridView gview = new GridView();
  DataRow dr;
  DataColumn dc = new DataColumn("Description", Type.GetType("System.String"));
  dt.Columns.Add(dc);
  dc = new DataColumn("Image", Type.GetType("System.String"));
  dt.Columns.Add(dc);
  dc = new DataColumn("Size (MB)", Type.GetType("System.String"));
  dt.Columns.Add(dc);
  {
      dr = dt.NewRow();
      dr["Description"] = item["Name"];
      dr["Size (MB)"] = item["Size"];
      dr["Image"] = "pdf.gif"; // put complete reference here,
      dt.Rows.Add(dr);
  }
  gview.DataSource = dt;
  gview.DataBind();
  Controls.Add(gview);
  </code></pre>