Connection strings for Visual FoxPro / FoxPro 2.x

ODBC
  • 复制到剪贴板Database container (.DBC)
    Driver={Microsoft Visual FoxPro Driver};SourceType=DBC;SourceDB=c:\myvfpdb.dbc; Exclusive=No;Collate=Machine;
  • 复制到剪贴板Free Table directory
    Driver={Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDB=c:\myvfpdbfolder; Exclusive=No;Collate=Machine;
OLE DB, OleDbConnection (.NET)
  • 复制到剪贴板Database container (.DBC)
    Provider=vfpoledb.1;Data Source=C:\MyDbFolder\MyDbContainer.dbc;Password=MyPassWord;
    Collating Sequence=machine
  • 复制到剪贴板Free table directory
    Provider=vfpoledb.1;Data Source=C:\MyDataDirectory\;Password=MyPassWord;
    Collating Sequence=general

©2009 vhalpha#163.com 鲁ICP备09080449号