I have an unbound DataGridView in Vb2005 which have DataGridViewCheckBoxColumn. i use DGV unbound because DGV is a detail for a Treeview.
When the check box is checked, I want to add the data in that row into another datagridview. For selection use.
i currently use DGV_CellValueChanged event, and my program in it, compare DataGridViewCheckBoxColumn value with the database. if its not same, then the program will update database with the current value.
but, when a user check the checkbox it does nothing until the user click elsewhere after it.
if i use my program in DGV_mouseup event the checboxcolumn value is not changing.
Anyone got a solution?
When the check box is checked, I want to add the data in that row into another datagridview. For selection use.
i currently use DGV_CellValueChanged event, and my program in it, compare DataGridViewCheckBoxColumn value with the database. if its not same, then the program will update database with the current value.
but, when a user check the checkbox it does nothing until the user click elsewhere after it.
if i use my program in DGV_mouseup event the checboxcolumn value is not changing.
Anyone got a solution?