menu on DataGridView?

retkehing

Well-known member
Joined
Feb 5, 2006
Messages
153
Programming Experience
Beginner
How to right click on any row of databagridview and call a menu which consists of delete and update? Thank you.
 
Add a ContextMenuStrip control and assign this to the DataGridViews ContextMenuStrip property. You can do all this in Designer View. When the ContextMenuStrip component is selected it is visible at top of form and you can add/remove/set menu items also in Designer View, just like the regular MenuStrip control.
 
Back
Top