Home > Archive > MS SQLCE > October 2005 > Concurrency violation POCKET PC









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Concurrency violation POCKET PC
Vladimir Oľura

2005-10-27, 7:53 am

I am building a Pocket PC Application that uses a dataGrid. The dataSource
for the dataGrid is a dataView. When I insert a new row into the dataTable
it shows up in the dataView aswelll (that's what I want). The new row is
saved into the database by calling the Update method of the dataAdapter, and
the AcceptChanges method is also called on the table. When I change some
data in the inserted row through the dataGrid the data is not saved
instantlly. It requires the the Button save to be pressed. When the save
button is pressed I get the next error message:

Concurrency violation: the UpdateCommand affected 0 records.

Can someone tell me what that means, and how do I get rid of it.

Thanks,
Vladimir Oľura


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com