I have this code that establishes a connection to a series of dbf files. My question now is how to point it to any one particular file, open that file and proceed to read the records? My ultimate goal here is to parse each record and then via a SQL connection transfer the data from dbase to SQL.
private OdbcConnection GetDBFConnection()
/* Create reader and open file containing connection string */
TextReader tr = new StreamReader(@"DBF.INI");
/* Read line containing the connection string */
DBFConnectionString = tr.ReadLine();
•Visual dBASE 7.5