http://www.csdn.net/Develop/read_article.asp?id=16437
解决方案 »
- C# 工具箱按钮图标素材哪里找
- datetimepicker的值怎么设置为空呢?
- 做一个文件复制的软件?
- 请问HttpWebRequest中的Header中的cookie和Request中的CookieContainer有什么区别?
- 一个新手的问题!大侠过来帮帮.........
- 这段代码啥意思呀,WINDOWS开发中几乎都能看见
- 怎样在WinForm上输出文字信息
- 怎么样对一个Assembly实现统计调用次数的功能
- 如何让一个客户端的控件的onclick事件去执行另一个服务器端空间的Click事件?
- 动态曲线效果
- C#中那种用方括号[]括起来的属性是什么意思啊?
- 如果是高手的话,那这个问题就不难了~!~!
oConn.Open "Provider=vfpoledb;" & _
"Data Source=C:\vfp7\Samples\Data\myVFPDB.dbc;" & _
"Mode=ReadWrite|Share Deny None;" & _
"Collating Sequence=MACHINE;" & _
"Password=''"
For more information, see: Microsoft OLE DB Provider for Visual FoxPro To view Microsoft KB articles related to OLE DB Provider for Visual FoxPro, click here.Note: The Visual FoxPro OLE DB Provider is NOT installed by MDAC 2.x. You must install Visual FoxPro 7.0 in order to get it's OLE DB Provider.
oConn.Open "Driver={Microsoft dBASE Driver (*.dbf)};" & _
"DriverID=277;" & _
"Dbq=c:\somepath"
Then specify the filename in the SQL statement:oRs.Open "Select * From user.dbf", oConn, , ,adCmdText
Note: MDAC 2.1 (or greater) requires the Borland Database Engine (BDE) to update dBase DBF files. (Q238431).For more information, see: dBASE Driver Programming ConsiderationsTo view Microsoft KB articles related to Microsoft dBASE Driver, click here
ODBC Driver for Visual FoxPro
With a database containeroConn.Open "Driver={Microsoft Visual FoxPro Driver};" & _
"SourceType=DBC;" & _
"SourceDB=c:\somepath\mySourceDb.dbc;" & _
"Exclusive=No"
Without a database container (Free Table Directory)oConn.Open "Driver={Microsoft Visual FoxPro Driver};" & _
"SourceType=DBF;" & _
"SourceDB=c:\somepath\mySourceDbFolder;" & _
"Exclusive=No"
For more information, see: Visual FoxPro ODBC Driver and Q165492
http://www.connectionstrings.com/