将Gridview中的数据导出到Excel工作表和pdf
问题描述:
如何将gridview中的数据导出到Excel工作表和Pdf
How can Export data in gridview to Excel sheet and Pdf
答
希望 ^ ]可能会对您有所帮助.
Hope this[^] might help you.
您可能不会获得同时使用这两个库的库.我将研究ADO.Net与Excel进行通信,然后搜索iTextSharp库来进行PDF转换.
编码愉快.
You probably won''t get one library that is going to do both. I would research ADO.Net to communicate with Excel and I would search for iTextSharp library do do the PDF conversion.
Happy coding.
导出PDF
http://engthunder.wordpress.com /2011/10/03/export-gridview-to-pdf-with-arabic-content-using-itextsharp/ [ http://engthunder .wordpress.com/2011/10/04/export-gridview-to-excel-and-wor-with-arabic-content-using-itextsharp/ [
Export PDF
http://engthunder.wordpress.com/2011/10/03/export-gridview-to-pdf-with-arabic-content-using-itextsharp/[^]
Export Excel
http://engthunder.wordpress.com/2011/10/04/export-gridview-to-excel-and-wor-with-arabic-content-using-itextsharp/[^]