GridView导出Excel 设置导出单元格格式

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

 

G{L[624SNR(G]G(G2DU9EJL

posted @ 2012-05-31 16:15  【唐】三三  阅读(341)  评论(0编辑  收藏  举报