I have a huge problem with the data exchange of a server database and a mobile database( sdf ). At first I load the data with a normal select from the server to my DataSet and then i set the table rows to added and use the DataTableAdapter.Update() command
to fill the mobile database.
The problem appears if I do it a second time because I get an exception with a primary key violation. Before i fill my mobile db I delete the whole table with the delete-command.
Why do i get such an exception if no data is in my mobile database??
Kind regards, thomas
View Complete Post