如何在c#中导出excel中的文本框值 [英] how to export textbox value in excel in c#
本文介绍了如何在c#中导出excel中的文本框值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在c#
推荐答案
中导出excel中的文本框值。您可以使用Open XML SDK。
请参阅此CodeProject答案:使用Open XML创建基本的Excel工作簿 [ ^ ]。
另请参阅本文中引用的过去答案:如何从MS Visual Studio 2010中的添加引用添加microsoft excel 15.0对象库 [ ^ ]。
-SA
You can use Open XML SDK.
Please see this CodeProject answer: Creating basic Excel workbook with Open XML[^].
See also my past answers referenced in this one: How to add microsoft excel 15.0 object library from Add Reference in MS Visual Studio 2010[^].
—SA
谢尔盖的回答非常好。除此之外,我建议你使用 OLE自动化 [ ^ ]( Interop [ ^ ])和ADO.NET OleDb [ ^ ]方法。
由于非详细问题,我无法帮到你。
Sergey's answer is very good. In addition to it, i suggest you to use OLE Automation[^] (Interop[^]) and ADO.NET OleDb[^] methods too.
I can't help you more, because of non detailed question.
这篇关于如何在c#中导出excel中的文本框值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文