前几位专家正在试图编造一个外壳。 其结构非常复杂。 人们知道的可能方式。
- Use Office introp libraries
- Use OLEDB provider and read excel file in a dataset.
但是,这个问题很复杂,如一些栏目、小数或小数等。
这样做的最佳途径是什么?
预先感谢。
前几位专家正在试图编造一个外壳。 其结构非常复杂。 人们知道的可能方式。
但是,这个问题很复杂,如一些栏目、小数或小数等。
这样做的最佳途径是什么?
预先感谢。
我本人更喜欢使用最经常的比照灯光灯光灯光灯光灯,或者说,你可以使用已经投入时间/精力的第三方图书馆获取数据。
为此,综合图书馆拥有一个极佳的图书馆。
我的用户首先将Excel电子表格作为CSV文档。 然后,他们把CSV档案上载到我的手上。 这使得使之更加简单。
我先利用欧LEDB自己阅读了上载的Excel文档,并且没有出现任何实际问题(除了田里的废品,而不是可以与IsDBNull核对的桶)。 另外,第三方的公开来源工具,例如法国国家研究院和Excel2007ReadWrite(。 http://www.codeproject.com/KB/office/OpenXML.aspx。
我对这些第三方工具进行了彻底评价,这两种工具都相当稳定,易于融合。 我建议法国国家石油公司查阅2003年卷宗和Excel2007ReadWrite for Excel 2007档案。
它与你一样,对目前的任务有很好的了解。 你们不得不书写商业逻辑,以打破电子表格格式的复杂性,并提取你重新研究的数据。
在我看来,VTSO/Interop是最佳平台战略,原因有二:
I was wondering if someone can tell me what would be the best way to bring my application to the foreground if a mutex was not able to be created for a new instance. E.g.: Application X is running ...
I ve successfully created an app that minimizes to the tray using a NotifyIcon. When the form is manually closed it is successfully hidden from the desktop, taskbar, and alt-tab. The problem occurs ...
Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...
I have a DataTable that has several DataColumns and DataRow. Now i would like to handle an event when cell of this DataRow is changed. How to do this in c#?
How do you force a DataGridView to release its reference to a bound DataSet? We have a rather large dataset being displayed in a DataGridView and noticed that resources were not being freed after the ...
I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not ...
When I m trying to change the default Image of a Control on Windows Forms in Form Designer (no matter where on which control) I get this error: Error message: An item with the same key has ...
I have a Winforms application coded in VS C# 2008 and want to insert a WPF window into the window pane of Winforms application. Could you explain me how this is done.