Thank you. The record is inserted in dataset with add(row).But when the dataadapter.update method is executed the record in database is ok , but in dataset the atonumber field is 0. Yes , is possible to fill again the dataset but the application is running on network and if i fill dataset everytime i add new record slow down the app. i know there is a method Select identity but i don't know how to do it.