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. #690

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

Comments

@yiyinghu97
Copy link

yiyinghu97 commented Nov 7, 2024

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);
@yiyinghu97 yiyinghu97 changed the title 含有Nan的reader写出的xlsx打开会提醒 含有Nan的reader写出的xlsx打开会提醒内容有问题 Nov 7, 2024
@yiyinghu97 yiyinghu97 changed the title 含有Nan的reader写出的xlsx打开会提醒内容有问题 When opening the xlsx written by a reader containing Nan, it will prompt that there is a problem with the content. Nov 25, 2024
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