封装Excel类的导入与导出

  1using System;
  2using System.Collections;
  3using System.ComponentModel;
  4using System.Data;
  5using System.Drawing;
  6using System.Web;
  7using System.Web.SessionState;
  8using System.Web.UI;
  9using System.Web.UI.WebControls;
 10using System.Web.UI.HtmlControls;
 11using System.Data.OleDb;
 12using Excel;
 13
 14namespace StoreManager
 15 {
 16
 17
 18    public class ImportExportToExcel
 19    {
 20        private string strConn ;
 21  
 22        public ImportExportToExcel()
 23        {
 24        }

 25
 26        //从Excel文件导入到DataSet
 27        从Excel文件导入到DataSet
 57
 58        //从DataSet到出到Excel
 59        从DataSet到出到Excel
101
102        //从XML导入到Dataset
103        从XML导入到Dataset    从DataSet导出到XML
115        //从DataSet导出到XML
116        从DataSet导出到XML
132    }

133
134}
posted @ 2006-12-18 15:30  楚广明  阅读(1789)  评论(4)    收藏  举报