C# 导出Excel 产生科学计数法问题的解决办法
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Cells[6].Attributes.Add("style", "vnd.ms-excel.numberformat:@"); } }
文章转载:http://blog.sina.com.cn/s/blog_6d4015a00100q054.html
<td style='vnd.ms-excel.numberformat:@;'>991703190006184242</td>