.net连接VF数据库
System.Data.ODBC.ODBCConnection conn = new System.Data.ODBC.ODBCConnection();
string table = filename;
string connStr = @"Driver={Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDB=" + path + ";Exclusive=No;NULL=NO;Collate=Machine;BACKGROUNDFETCH=NO;DELETED=NO";
conn.ConnectionString = connStr;
conn.Open();
ODBCCommand cmd = new ODBCCommand();
cmd.Connection = conn;
string sql = "select * from T_tdd";
cmd.CommandText = sql;
cmd.CommandType = CommandType.Text;