title: Getting value hexadecimal 0x02, character not valid
body: <p>I am getting the following error: </p>
  
  <blockquote>
    <p>, value hexadecimal 0x02, caracter not valid.</p>
  </blockquote>
  
  <p>using this code:</p>
  
  <pre><code>using (XLWorkbook wb = new XLWorkbook())
  {
    wb.Worksheets.Add(dt1);
    Response.Clear();
    Response.Buffer = true;
    Response.Charset ="";    
    Response.ContentType = "application/vnd.openxmlformats-     officedocument.spreadsheetml.sheet";
    //Response.AddHeader("content-disposition", "attachment;filename=GridView.xlsx");
    Response.AddHeader("content-disposition", "attachment;filename=" + filename);
    using (MemoryStream MyMemoryStream = new MemoryStream())
    {
        wb.SaveAs(MyMemoryStream);
        MyMemoryStream.WriteTo(Response.OutputStream);
        Response.Flush();
        Response.End();
    }
  </code></pre>
  
  <p>}</p>
  
  <p>I have tried different ways, but I still get the same error. "dt1" is filled from stored procedure.</p>