dgv right click delete operation

Select the entire row

Insert picture description here

Right-click context menu

Insert picture description here

Delete ideas

Get the index value of the currently selected row of the control, 0

Generic array, delete members, delete according to index

Rebind the new generic array

Guess you like

Origin blog.csdn.net/ifubing/article/details/112303046
Recommended