Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When opening the xlsx written by a reader containing Nan, it will prompt that there is a problem with the content #699

Open
yiyinghu97 opened this issue Nov 25, 2024 · 0 comments

Comments

@yiyinghu97
Copy link

static async Task Main(string[] args)
    {
        var path = Path.Combine("D:\\Document\\errorCSV", $"{Guid.NewGuid()}.xlsx");
        var table = new DataTable();
        {
            table.Columns.Add("Column1", typeof(double));
            table.Columns.Add("Column2", typeof(double));
            table.Rows.Add(1.0, double.NaN);
        }
        MiniExcel.SaveAs(path, table);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant