我在程序中 SqlCommand excelCmd = new SqlCommand("insert into b_apo_temp " + is_fieldname + " select " + is_lieming + " from OPENROWSET('Microsoft.Ace.OLEDB.12.0','Excel 12.0;HDR=YES;DATABASE=" + filepath + "',Sheet1$)", con);用这段代码导入excel 2007文件,提示“无法创建链接服务器“null”的oledb访问接口“Microsoft.Ace.OLEDB.12.0”的实例。
是不是express不能导入excel2007文件呢?我的电脑是xp系统,不是服务器,能装哪个版本的sqlserver,支持excel2007?
谢谢