autoincrement

  1. D

    Question Problem with AutoIncrement

    Hi I have 2 tables - say Order and OrderDetail. For both tables, I have primarykey as Id and both are AutoIncrement. I am adding new record to Order and OrderDetail using bindingsource.addNew() I try to display the 'Id's for both the table it shows -1. Anyways I really dont need to show...
  2. B

    Question BindingSource AddNew not working

    When I try to add a new record to my bindingsource it seems to work fine and tells me that I have updated one new record. But when I come back later, the record doesn't exist in the database. The database key field is an autoincrementing field - that may be my problem? If so any ideas on how...
Top Bottom