我使用ado记录集连接excel文件很正常,语句如下:
With ADODATASET1 Do Begin
 If Active Then Active := False;
    ConnectionString := 'Provider=Microsoft.Jet.OLEDB.4.0;'
        + 'Data Source=D:\A.XLS;Extended Properties=Excel 8.0;'
        + 'Persist Security Info=False';
    CommandType := cmdTableDirect;
    CommandText := 'Sheet1$';
    Active := True;
End;但是连接csv格式文件时就出错 ,提示“External Table Is Not In The Expected Format”,
各位大虾,如何解决?