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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.