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).

Contribute

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.

“In order to understand recursion, one must first understand recursion.”