View Single Post
Old 07-01-2010, 03:13 AM   #2 (permalink)
nonggiatu
The Visitor
 
Join Date: Jun 2010
Posts: 1
Thanks: 0
nonggiatu is on a distinguished road
Default

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 ?
nonggiatu is offline  
Reply With Quote