vfpConn

ODBC
  Standard
   Driver={Microsoft dBASE Driver (*.dbf)};DriverID=277;Dbq=c:\mydbpath;

  Remote drives
   Driver={Microsoft dBase Driver (*.dbf)};datasource=dBase Files;

  OLE DB, OleDbConnection (.NET)
  Standard
   Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\folder;Extended Properties=dBASE IV;User ID=Admin;Password=;

  OLE DB, OleDbConnection (.NET)
  Database container (.DBC)
   Provider=vfpoledb.1;Data Source=C:\MyDbFolder\MyDbContainer.dbc;Collating Sequence=machine;

  Free table directory
   Provider=vfpoledb.1;Data Source=C:\MyDataDirectory\;Collating Sequence=general;

  Force the provider to use an ODBC DSN
    Provider=vfpoledb.1;DSN=MyDSN;

   ODBC
   Database container (.DBC)
    Driver={Microsoft Visual FoxPro Driver};SourceType=DBC;SourceDB=c:\myvfpdb.dbc;Exclusive=No; NULL=NO;Collate=Machine;BACKGROUNDFETCH=NO;DELETED=NO;

   Free Table directory
    Driver={Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDB=c:\myvfpdbfolder;Exclusive=No; Collate=Machine;NULL=NO;DELETED=NO;BACKGROUNDFETCH=NO;





_lread(file,head,fileleng);

posted on 2007-10-19 09:22  tony.zjb  阅读(467)  评论(0编辑  收藏  举报

导航