Hi,
When I try to open the excel file generated by the Sylvan.Excel. I get the following error.
"We found a preblem with some content in 'xxx.xlsx'. Do you want us try to recover as much as we can? If you trust the source of this workbook, clik Yes."
The code is attached below.
`
public void SylvanExcelTest()
{
var data =
new[]
{
double.NaN,
1.2
}.Select(v => new { Value = v });
var reader = data.AsDataReader();
using (var w = ExcelDataWriter.Create("D:\\test2.xlsx"))
{
w.Write(reader);
}
Hi, When I try to open the excel file generated by the Sylvan.Excel. I get the following error. "We found a preblem with some content in 'xxx.xlsx'. Do you want us try to recover as much as we can? If you trust the source of this workbook, clik Yes." The code is attached below. ` public void SylvanExcelTest() { var data = new[] { double.NaN, 1.2 }.Select(v => new { Value = v });
} `