[转]C# Excel 创建、打开、读取、写入、保存的一般性代码

创建、打开、读取、写入、保存的一般性代码:using System; using System.Reflection; // 引用这个才能使用Missing字段 using Excel=Microsoft.Office.Interop.Excel; namespace CExcel1 { class Class1 { [STAThread] static void Main(string[] args) { //创建Application对象 Excel.Application xApp=new Excel.ApplicationClass...

最近回复