摘要: 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 I 阅读全文
posted @ 2011-03-07 23:31 shiningrise 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 先看段代码:string ole_connstring = @"Provider=VFPOLEDB.1;Data Source=D:\;";System.Data.OleDb.OleDbConnection ole_conn = new System.Data.OleDb.OleDbConnection(ole_connstring);try{ ole_conn.Open(); System.Data.OleDb.OleDbCommand cmd1 = new System.Data.OleDb.OleDbCommand ("Create Table TestTa 阅读全文
posted @ 2011-03-07 14:19 shiningrise 阅读(862) 评论(0) 推荐(0) 编辑
摘要: 转自http://dotnet.chinaitlab.com/CSharp/838298.html由于历史的原因,我国的上交所和深交所使用的还是dbf文件来进行行情数据的分发,关于卫星报盘系统,可以参考:http://maltig.itpub.net/post/12165/195151 这个博客中关于证券公司信息化的文章写的还是相当不错的。上交所使用的是show2003.dbf文件,而深交所使用的是SJSHQ.DBF,这种文件可以使用Visual FoxPro直接打开,查看其内容。接下来说说怎么使用C#读取其中的数据。 使用C#读取dbf文件,推荐使用OLE DB来读取(微软官方都不推荐使用O 阅读全文
posted @ 2011-03-07 14:08 shiningrise 阅读(1215) 评论(0) 推荐(0) 编辑
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css