try oledbDA.UpdateCommand.CommandText = "UPDATE Contacts SET Company= MyCompany WHERE Unique_ID = MyContacts_Unique_ID" catch ex as exception ' The value of ex.message will tell you the error Response.Write(ex.message) end try