B
Bar
Hi,
I am adding a datarow with the following straightforward code to an access
database:
dsClient.tbClientenRow drClient;
drClient = (dsClient.tbClientenRow) this.dsClient1.tbClienten.NewRow();
drClient.Name = "John";
dsClient1.tbClienten.AddtbClientenRow(drClient);
this.daClient.Update(this.dsClient1);
If i am doing a second update on this dsClient with adding the following
code
drClient.Name = "John R."
this.daClient.Update(this.dsClient1);
I get an concurrency error:
Concurrency violation: the UpdateCommand affected 0 records.
Why is this happening and how can i resolve this issue? Very much thanks in
advance!
Bar
I am adding a datarow with the following straightforward code to an access
database:
dsClient.tbClientenRow drClient;
drClient = (dsClient.tbClientenRow) this.dsClient1.tbClienten.NewRow();
drClient.Name = "John";
dsClient1.tbClienten.AddtbClientenRow(drClient);
this.daClient.Update(this.dsClient1);
If i am doing a second update on this dsClient with adding the following
code
drClient.Name = "John R."
this.daClient.Update(this.dsClient1);
I get an concurrency error:
Concurrency violation: the UpdateCommand affected 0 records.
Why is this happening and how can i resolve this issue? Very much thanks in
advance!
Bar