简体   繁体   中英

DatagridView cellcontent click Event?

I am using Datagrid-cellcontentclick event when I click on row sometime work sometime does not work.

Does anyone has similar issue. I have function to get customer id when I click on row it show me id of row.

Use CellClick instead, CellContentClick on activates if you click on the content within the cell.

Extending on that, Cell click activates on more than just the mouse.

CellMouseClick Would only register mouse clicks

And remember, if the question helped, why don't you go ahead and mark it

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM