Source=C:\\Inetpub\\wwwroot\\book1.xls;Extended Properties=Excel 8.0;";
用上了么?

解决方案 »

  1.   

    COPY了你的代码,可以显示
    我想可能是book1.xls文件中的某些设置有问题吧
      

  2.   

    如果一列里有文本和数字,都可以显示吗?
    那是我的excel有问题吗?楼上你用的excel 是不是2000版的
      

  3.   

    http://community.csdn.net/Expert/topic/3394/3394918.xml?temp=.5587885
      

  4.   

    C:\\Inetpub\\wwwroot\\book1.xls;Extended Properties=Excel 8.0
    改为:
    C:\\Inetpub\\wwwroot\\book1.xls;Extended Properties='Excel 8.0;HDR=Yes;IMEX=1'