楼主你说的无效是指连MessageBox.Show("hello");也不会弹出来来吗?如果是的话,楼主看下datagridview的事件列表,看下Mouse下的cellclick有没有你的触发方法名称:

如果是空那么事件是触发不了的。
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.