Home All Groups Group Topic Archive Search About

DataGriDView Programm, Help

Author
27 Jul 2006 1:20 PM
Taoge
Hi,

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

AddThis Social Bookmark Button