add field in database (ms access) programmatically

csharp , db Thailand
  • 12 years ago

    what is the equivalent code for this:

    db.CreateTableDef --> where db is declared as Database

    tdfNew.CreateField --> where tdfNew is declared as TableDef


    These are used in creating a field in an existing database using VB6. How can i do this in c#?

    Thanks in advance! Smiley Face

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“There are only two kinds of languages: the ones people complain about and the ones nobody uses” - Bjarne Stroustrup