string connectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source= D://Temp;Extended Properties=dBase IV"; //MessageBox.Show(connectionString); OleDbConnection connection = new OleDbConnection(connectionString); connection.Open(); /* --------------------------- Filling The DBF Files ----------------------*/ using (OleDbCommand cmd = connection.CreateCommand()) { cmd.CommandText = @"CREATE TABLE clients( nbrclient int , level varchar(1) , type varchar(10) , name varchar(80) , name2 varchar(80) , fname varchar(50) , vip varchar(40) , langue varchar(3) , salutations varchar(30) , gender varchar(30) , title varchar(30) ) "; cmd.ExecuteNonQuery(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)