摘要:以前对Excel操作,使用的Microsoft.Office.Interop.Excel来操作Excel,需要启动一个excel进程,速度慢。最近发现可以使用OLEDB配合Dataset的方法来操作Excel,和操作数据库一样,简单快速:using System;using System.Collections.Generic;using System.Text;using System.Data;using System.Data.OleDb;namespace ExcelTest{ class Program { static void Main(string[] args) { stri
阅读全文
posted @ 2011-03-29 17:15
浙公网安备 33010602011771号