GridView导出Excel 设置导出单元格格式 //设置单元格为文本格式 gridView.Rows[i].Cells[32].Attributes.Add("style","vnd.ms-excel.numberformat:@");