right-click event handling

May 7 2009 6:52 AM


In a form I dropped a datagridview and a contextmenustrip. When I run the form it displays some info from the db to the dgv. The contextmenustrip has a item called open which opens a new form and also carries some variables to that form. My question is when I right click on a particular row then that row's 1st,2nd,and 3rd cell values should be copied to 3 string vars and are passed to the new form

Answers (5)