2013年5月28日
摘要: 微软的Excel操作类导出Excel会很慢,此方法简单的把表中内容以字符串的形式写入到Excel中,用到的一个技巧就是"\t".C#中的\t相当于Tab键,写入到Excel中时就是一列一列中写入。引用命名空间:using System.Drawing;using System.Threading;using System.IO;using System.Data;using System.Text;using System.Collections;protected void btnExport_Click(object sender, EventArgs e) { thi 阅读全文
posted @ 2013-05-28 09:36 一粒沙 阅读(431) 评论(0) 推荐(0) 编辑