|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
DataGriDView Programm, HelpHi,
How can I accept the changing of datagridview. I have a column used as CheckBoxColumn, when I cilck one cell in this column, I want to know the cell's value (true or false), but i found that everytime I use: dgv.Rows[e.RowIndex].Cells[e.ColumnIndex].Value in CellClick event, it always show the inital value, ( if checked at first, always true even I clicked and uncheck it, dgv.Rows[e.RowIndex].Cells[e.ColumnIndex].Value still is true), how I let DGV accept the changing. ( after I uncheck it, dgv.Rows[e.RowIndex].Cells[e.ColumnIndex].Value is FALSE, not TRUE) Thanks |
|||||||||||||||||||||||