如何通过vb.net从gridview向Excel添加文本? [英] How to add a text from gridview to excel through vb.net??
本文介绍了如何通过vb.net从gridview向Excel添加文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的疑问是,如果我在列和行的网格视图中均未添加任何文本,并且这些细节应反映在excel文件中,请提前感谢:)
My doubt is If I add a no of text to grid view in column as well as row wise and those details should reflect in a excel file, thanks in advance:)
推荐答案
如果需要从DataGridView导出到Excel工作表,请参见以下示例:
If you need to export from a DataGridView to an Excel Worksheet then see the below example:
http://vb.net-informations.com/datagridview/vb.net_datagridview_export.htm
这篇关于如何通过vb.net从gridview向Excel添加文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文