title: Response image src in asp.net mvc
body: <p>I return HTML content and display in excel file in ASP.NET MVC.</p>
  
  <p>My question is about img source.Img source does not work.</p>
  
  <p><strong>My Code:</strong></p>
  
  <pre><code>public ActionResult ExportData()
  {
      Response.ContentType = "application/vnd.ms-excel";
      Response.AddHeader("Content-Disposition", "attachment; filename=test.xls;");
      var stringWrite = new StringWriter();
      var htmlWrite = new HtmlTextWriter(stringWrite);
  
      var headerTable = @"&lt;Table&gt;&lt;tr&gt;&lt;td&gt;&lt;img src=""‪C:\Users\xx\Desktop\Export\Export\Images\orderedList0.png"" \&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/Table&gt;";
  
      Response.Write(headerTable);
      Response.Write(stringWrite.ToString());
      Response.End();
  
      return RedirectToAction("StudentDetails");
  }
  </code></pre>
  
  <p>Above code exports excell file without problem. I only have problem about displaying image. Image can not appear exactly. There is a problem about img source.</p>
  
  <p>What is the correct way for img src for my code?</p>