07-01-2010, 03:13 AM
|
#2 (permalink)
|
|
The Visitor
Join Date: Jun 2010
Posts: 1
Thanks: 0
|
You should catch the exception when working with DB and see if something is wrong. Maybe two reasons:
1. If the ID field is "auto increment", you should not specify the ID value to insert.
2. Is possible that there were two equal IDs ?
|
|
|
|