右键添加引用,在COM那有一个Microsoft Excel 11.0 Object Library 这个是2003的 如果是别的应该是要自己加库试试看,我也学习下……
using System.Data.OleDb;