prasad kulkarni
Well-known member
- Joined
- Sep 7, 2009
- Messages
- 62
- Programming Experience
- 1-3
Hello,
I am using vb.net 2005 (window application). In my form1 there is two button
'Save' and 'Update' . when I fill information and save last record using da.update(ds,'tablename') then no problem . But when I Immediately update last record using da.update(ds,'tablename') ,
then I get error: 'Concurrency violation: the UpdateCommand affected 0 of the expected 1 records ' .
My table have a primary key. For database sql server 2000 is used .
if any one know the answer , please reply me soon.
I am using vb.net 2005 (window application). In my form1 there is two button
'Save' and 'Update' . when I fill information and save last record using da.update(ds,'tablename') then no problem . But when I Immediately update last record using da.update(ds,'tablename') ,
then I get error: 'Concurrency violation: the UpdateCommand affected 0 of the expected 1 records ' .
My table have a primary key. For database sql server 2000 is used .
if any one know the answer , please reply me soon.