I'm getting the following error. Concurrency violation: the UpdateCommand affected 0 records I don't know why. It happens everytime I update a record from within my program. I can do it within sqlserver fine. I basically have this for the code. Code: Dim dsChanges As dsUser xData = getUser(username) xData.User(0).Name = "test" dsChanges = CType(xData.GetChanges(), dsUser) If Not dsChanges Is Nothing Then connect() sdaUser.Update(dsChanges, "User") disconnect() End If Then I get the error, I've tried searching the net and can't find out what the hell is going wrong. Please help if you can.