C# VFP OLEDB connection string problems (DBF and CDX vs DBF and IDX)
问题 I've connected to foxpro databases before, but only ones that have both a .dbf and .idx file. I register the Microsoft Ole DB Provider for Visual Foxpro 7.0 and use the following type of code: string sqlSTR = "SELECT * FROM TableName"; string strConnect = @"Provider=VFPOLEDB.1;Data Source=C:\Stuff.dbf;Extended Properties=dBASE IV;" And open the connection. This file, though, has a .dbf and .cdx file (which, reading online seems to be the structure of the database). When I use the connection