stringq=@"Provider=vfpoledb.1;DataSource=d:\DataSource\;CollatingSequence=machine;";
DBConnection.DgDBConnection=new System.Data.OleDb.OleDbConnection(q);
//以上是连接代码
 string createFile="create table "+file+"(grshbzh char(20),zyh char(12),xmxh int,xmxh float(5,0), char(10),xmmc char(40),fldm char(3),ypgg char(15),ypjx char(8),jg float(12,5),mcyl float(18,2),je float(20,2),zfbl float(3,2),zfje float(20,2),cfzbz char(3),bz1 char(20),bz2 char(20),bz3 char(20))";
用OleDbCommand执行,生成的dbf文件xmxh不是5而是6,jg不是12而是14,mcyl不是18
而是20 为什么呀?