Range range = worksheet.get_Range(worksheet.Cells[2, 1], worksheet.Cells[RowCount + 1, ColCount]);
range.NumberFormat = @"yyyy-mm-dd"; //日期格式
时间: 2024-10-13 03:19:02
Range range = worksheet.get_Range(worksheet.Cells[2, 1], worksheet.Cells[RowCount + 1, ColCount]);
range.NumberFormat = @"yyyy-mm-dd"; //日期格式