用QueryTable向excel批量導入數據

前面寫過兩篇excel操作的文章,有朋友質疑大批量數據下的性能問題,這個時候最好用批量複製的方法,可以用excel的QueryTable來直接查詢數據庫,但是必須引用com組件。 參考代碼: using System; using System.Collections.Generic; using System.Text; using System.Reflection; using Excel=
相關文章
相關標籤/搜索