Creating a Database Table within Access 2003/2007

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Johnny E Jensen

    Creating a Database Table within Access 2003/2007

    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


  • Alberto Poblacion

    #2
    Re: Creating a Database Table within Access 2003/2007

    "Johnny E Jensen" <jej@winner-crm.dkwrote in message
    news:uZsmohIdIH A.4588@TK2MSFTN GP06.phx.gbl...
    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.


    Comment

    Working...