Click here to Skip to main content
15,887,434 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have created contextmenu strip for a datagrid view

its working.

But the problem is that rightclick option should be done for each cell

for eg..
a update operation

if the user right clicks on a particular cell in a grid then clicks update, the value in the cell should be passed in the update operation.


help me with coding.....


plz explain me with an example
Posted
Updated 24-Mar-10 23:13pm
v2

1 solution

Using HitTest[^] will let you obtain cell's Row and Column index from mouse click coordinates.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900