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;
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;
精彩评论