title: How can I export data into excel from a grid which contains image?
body: <p>I want to export data in to excel from grid which contains image.</p>
  
  <p>Am using the following code - </p>
  
  <pre><code> private void CreateXL()
   {
      Response.Clear();
      Response.AddHeader("content-disposition", "attachment;filename=xxxxxxxt.xls");
      Response.Charset = "";
  
      Response.ContentType = "application/vnd.xls";
      StringWriter objStringWriter = new StringWriter();
      HtmlTextWriter objHtmlTextWriter = new HtmlTextWriter(objStringWriter);
  
      Gridview.RenderControl(objHtmlTextWriter);
      Response.Write(objStringWriter.ToString());
      Response.End();
   }
  </code></pre>
  
  <p>But in excel am not able to see the images, instead of an image am getting a message that says, 'The linked image cannot be displayed The file may have been moved, renamed or deleted. Verify the links points to the correct file and location.'</p>
  
  <p>How can i solve this problem?</p>