Concurrency violation on .update statement

emaduddeen

Well-known member
Joined
May 5, 2010
Messages
171
Location
Lowell, MA & Occasionally Indonesia
Programming Experience
Beginner
Hi Everyone,

Can you help me out of a concurrency violation error?

It happens on this statement:

VB.NET:
                objDataAdapterCustomerDetails.UpdateCommand = _
                    objCommandBuilderParentDetails.GetUpdateCommand

It thinks I'm using a key value of 1 when the actual value is really 1218.

I'm using a command builder and I'm also new to doing command builders so any help will be greatly appreciated.

The attachments show the value of the key value and the value of the update text values.

If you need it, I can post the code from the sub procedure that contains the command builder.

By the way, I can insert data but not update it.

Thanks.

Truly,
Emad
 

Attachments

  • cuncurrency error 1.jpg
    cuncurrency error 1.jpg
    421.6 KB · Views: 75
  • cuncurrency error 2.jpg
    cuncurrency error 2.jpg
    516.8 KB · Views: 119
Back
Top