.NET所有的数据从一个Excel工作簿到另一个编码通过复制有的、数据、工作、NET

由网友(谁管你深情似海)分享简介:请帮我..如何从一个Excel工作簿中使用C#拷贝所有的数据(仅适用于数据未结构)到另一个Excel工作簿。Please help me..How to Copy all the data (only data not structure) from one excel workbook to another e...

请帮我.. 如何从一个Excel工作簿中使用C#拷贝所有的数据(仅适用于数据未结构)到另一个Excel工作簿。

Please help me.. How to Copy all the data (only data not structure) from one excel workbook to another excel workbook using C#.

推荐答案

如果数据表格,你也许可以用OLEDB做它只是治疗的Excel工作簿的数据源。这code项目文章应该告诉你如何开始:阅读与写作Excel中使用OLEDB

If the data is tabular you might be able to use OLEDB to do it just treating the Excel workbooks as datasources. This Code Project article should show you how to get started: Reading and Writing Excel using OLEDB

如果您不能使用OLEDB,那么你可以通过Excel自动化做到这一点。本文将告诉您如何开始与:如何通过使用Visual C#中的数据传输到Excel工作簿2005或的Visual C#.NET

If you can't use OLEDB then you can do it via Excel Automation. This article shows you how to get started with that: How to transfer data to an Excel workbook by using Visual C# 2005 or Visual C# .NET

阅读全文

相关推荐

最新文章