Could you tell me how to delete VB DataGrid or VsflexGrid etc form multiple rows selected record!
How do you write code to change ~ ~ ~ ~ ~ ~
CodePudding user response:
Dim varBmk As the VariantFor Each varBmk In DataGrid1. SelBookmarks
Adodc1. You. Bookmark=varBmk
Adodc1. You. Delete
Adodc1. Refresh
Next
CodePudding user response:
No way! Or just delete the first line!CodePudding user response:
After deleting all Refresh again,CodePudding user response:
Reverse circulation selectedRows, traverse the corresponding index, according to the index delete rows,