Vb.net solution : Update datagridview with numeric primary key
The vb.net grid issue, typical in Firebird, consist in the fact that, after you insert a new record with an autoincrement field in a datagridview, we have to exit from the application to be able to edit the new inserted record.
To solve this issue you have to proceed this way