使用ASP.NET将详细信息从GridView导出到Excel 2010和formet Cell格式 [英] Exporting details from GridView into Excel 2010 and formet Cell format using ASP.NET
本文介绍了使用ASP.NET将详细信息从GridView导出到Excel 2010和formet Cell格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好!
我需要帮助.
我正在尝试将数据从gridview导出到MS Excel 2007或2010文件中.
我可以导出,但是随后我想将该文件中的所有单元格格式化为文本,因为我有1E1、4E1之类的数据.
当前在导出时,它显示为1E + 001,而不是1E1.
有人可以帮助我吗?
谢谢!!
HI everyone!
I need help.
I am trying to export data from a gridview into MS Excel 2007 or 2010 file.
I am able to export but then i would like to format all the cell in that file to be Text as i have data like 1E1, 4E1.
Currently when export, instead of 1E1, it shows 1E+001.
Anyone can help me?
Thanks!!
推荐答案
显然,有两种方法可以做到这一点. 这可能会有所帮助您 [
Apparently there are a couple of ways to do this. Maybe this will help you[^]
这篇关于使用ASP.NET将详细信息从GridView导出到Excel 2010和formet Cell格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文