Home > Net >  Why I can't use excel export to DBF in c # open then use external tools transformation can open
Why I can't use excel export to DBF in c # open then use external tools transformation can open

Time:11-19

Why I can't use excel export to DBF in c # open then use external tool change my can open;
Create a DBF conjunctions
String connStr=@ "Driver={Microsoft Visual FoxPro Driver}; SourceType=DBC; SourceDB="+ fileName +"; Exclusive=No. NULL=NO; Collate=Machine; BACKGROUNDFETCH=NO. Does=NO ";
Conn. The ConnectionString=connStr;
Conn. The Open ();
OdbcCommand CMD=new OdbcCommand ();
String SQL=this. CreateDBFTable (fileName);
Cmd.Com mandText=SQL;
Cmd.Com mandType=CommandType. Text;
CMD. Connection=conn;

External tools is DBFPLUS, direct export DBF Foxpro version, and such a code generation cannot read, is also a Foxpro version of DBF can, don't understand,
  •  Tags:  
  • C#
  • Related