将gridview数据导出到Excel工作表中 [英] export gridview data into excel sheet
本文介绍了将gridview数据导出到Excel工作表中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在excel表格中导出gridview数据,但是当我们导出excel文件时,导出的文件不是自己制作的格式化excel表格,你可以给我一个合适的代码。
i want to export gridview data in excel sheet but when we export excel file then exported file is not own made formatted excel sheet and can you give a suitable code for me.
推荐答案
http://www.aspsnippets.com/Articles/Export-GridView-with-Images-to-Word-Excel-and-PDF-Formats-in-ASP.Net。 aspx [ ^ ]
请点击此链接,这可能会解决您的问题
http://www.aspsnippets.com/Articles/Export-GridView-with-Images-to-Word-Excel-and-PDF-Formats-in-ASP.Net.aspx[^]
Please follow this link this might be solve your problem
尝试 CodeProject常见问题问题系列1:ASP.NET GridView [ ^ ]
check这个
将DataTable导出到Excel在C#中格式化 [ ^ ]
check this
Export DataTable to Excel with Formatting in C#[^]
这篇关于将gridview数据导出到Excel工作表中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文