开发者

In Winforms, how do you pass the datagridview row right-clicked on to the ContextMenuStrip?

I need to know whic开发者_开发技巧h row is right-clicked on for the contextMenuStrip in a datagridview. Winforms, c#.


int id = (int)YourGridViewName.SelectedCells[0].Value;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜