We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
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.