freelanceprogrammers.org Forum Index » Visual Basic

update requires a valid deletecommand when passed datarow co

View user's profile Post To page top
cpbgark Posted: Wed Apr 27, 2005 9:36 pm


Joined: 20 Apr 2005

Posts: 3
update requires a valid deletecommand when passed datarow co
What does "update requires a valid deletecommand when passed datarow
collection with deleted rows" mean?

This is my delete command:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
`grdAppVerRel.SetDataBinding(objAppPoolDataSet2,
"AppLicPool.AppPoolRel")

If (Me.BindingContext(objAppPoolDataSet2,
"AppLicPool.AppPoolRel").Count > 0) Then
Me.BindingContext(objAppPoolDataSet2,
"AppLicPool.AppPoolRel").RemoveAt(Me.BindingContext(objAppPoolDataSet2,
"AppLicPool.AppPoolRel").Position)
`Me.objAppPoolDataSet2_PositionChanged()
End If
End Sub
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help