Creating a Database Table within Access 2003/2007

  • Thread starter Thread starter Johnny E Jensen
  • Start date Start date
J

Johnny E Jensen

Hej Group

Using C# (Visual Studio 2005) I would like to be able to create a table in
an Access 2003/2007 database.
I am using OLEDB provider but i can see how to do this.

Can anone give me a hint?

Kind regards
Johnny E. Jensen
 
Johnny E Jensen said:
Using C# (Visual Studio 2005) I would like to be able to create a table in
an Access 2003/2007 database.
I am using OLEDB provider but i can see how to do this.

Can anone give me a hint?

Hint: You can send a "CREATE TABLE ..." SQL command by means of the
ExecuteNonQuery method of an OleDbCommand.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top