in

System.Data.SQLite

An open source ADO.NET provider for the SQLite database engine

how to set auto increment in designer

Last post 08-04-2010 4:41 AM by afterdream. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-31-2010 1:07 AM

    how to set auto increment in designer

     i'm using VS2008 and SQLite-1.0.66.0-setup.exe.

    I want to let the primary key in the table to be auto increment, but I could not find how to set in the designer.

     i'v found the same question at http://sqlite.phxsoftware.com/forums/p/1553/6744.aspx#6744, The answer there is "found it under Index / Keys". At my side, there are "Columns", "Indexes", "Foreign Keys" and "Triggers" under my table name, and there is only one item "sqlite_master_PK_bom" under "Indexes", (bom is my table name).

     Later, I found the auto increment can be set at *DataSet.xsd. But I still hope to know how to set it in the designer, because sometimes I writes the dataAdapter, dataSet... manually, there will be no file *DataSet.xsd.  Thanks.

     

  • 08-04-2010 4:41 AM In reply to

    Re: how to set auto increment in designer

    got it, just right click on the left end of the table in the designer

     

Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems