How can i create a context menu in c# in a datagridview

Posted by lanoxx on Stack Overflow See other posts from Stack Overflow or by lanoxx
Published on 2011-01-16T08:17:39Z Indexed on 2011/01/16 8:53 UTC
Read the original article Hit count: 149

Filed under:
|
|
|

Hi all,

I have written a datagridview with a couple of columns to store data of a product, now i want to be able to right click any row and have a context menu appear with the options delete and copy. Copy should have the same functionality as if I press Ctrl+C. Any help would be appreciated. Im using C# and WinForms. I have never done context menus before, so I would be thank full for any hint or link to further readings.

Cheers

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms