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:@");
}
}
GridView导出excel出现科学计数的解决办法
猜你喜欢
转载自blog.csdn.net/farmwang/article/details/80848461
今日推荐
周排行