在GridView行绑定时添加如下代码即可 e.Row.Cells[i].Attributes.Add("style", "vnd.ms-excel.numberformat:@");以上方法会把导出的Excel列中每一列都取消格式,但是这样Excel无法进行某些操作,如无法改变日期格式或者统计列 相关文章: 2022-12-23 2022-12-23 2021-11-17 2021-12-01 2022-02-02 2022-12-23 2021-11-19