http://www.cnblogs.com/linfuguo/archive/2006/08/19/480976.html

解决方案 »

  1.   

    用OLEDB直接读就可以了string strConnection = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source = " + strFileName + ";Extended Properties = Excel 8.0";
    OleDbConnection oleConnection = new OleDbConnection(strConnection);
    try
    {
    oleConnection.Open();
    DataSet dsRead = new DataSet();
    OleDbDataAdapter oleAdper = new OleDbDataAdapter(" SELECT * FROM [" + sheetName + "$]", oleConnection);
    oleAdper.Fill(dsRead, "result");
    return dsRead;
    }
      

  2.   

    http://blog.csdn.net/flygoldfish/archive/2005/11/07/524305.aspxhttp://www.webmis.com.cn/MisGoldPrinter.htmhttp://www.webmis.com.cn/GoldPrinter.ExcelExpert.htm