I want to create a DBF file: it should be dBase III format.
- As part of an ESRI Shapefile
- dBase format III
- WITHOUT A MEMO \ DBT FILE.
- Single column multiple rows.
I've tried a lot of options the closest I got was using this: ( But it creates the annoying memo file along with it ).
string connectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\temp;Extended Properties=dBase III";
using (OleDbConnection connection = new OleDbConnection(connectionString))
using (OleDbCommand command = connection.CreateCommand())
{
connection.Open();
command.CommandText = "CREATE TABLE Test (Id Integer, Changed Double, Name Text)";
command.ExecuteNonQuery();
}
as was suggested here.