Hi I am using this code to create a .dbf file and it works fine ( i use OdbcConnection )
string TblInventory = "Create Table Inventory (Id int , Date datetime, CreatedBy char(100))";
OdbcCommand cmd = new OdbcCommand(TblInventory, odbconn);
cmd.ExecuteNonQuery();
Insert works well:
"Insert Into Inventory (Id, Date , CreatedBy ) Values(2,'2010/05/05','Gigi')";
How can i make the Id column autoincrement?