Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.
Using ta As New TestDataSetTableAdapters.ResourceTableAdapter ta.FillByResourceID(Me.TestDataSet.Resource, ID) End Using Dim dr As TestDataSet.ResourceRow dr = TestDataSet.Resource(0) Using ta As New TestDataSetTableAdapters.ResourceTableAdapter dr.Comments = "First" ta.Update(Me.TestDataSet.Resource) dr.Comments = "Second" 'This next UPDATE will give the DBConcurrencyException: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records. ta.Update(Me.TestDataSet.Resource) End Using
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.