'The value of the DatagridView's cell appears to change, but it does not
I have a DatagridView whose DataSource is a DataTable. When I change a cell's value at runtime, it appears to be changing well.
However, if I try to assign a value from the DataGridView to a variable by clicking on a row in the DatagridView, the variable gets the original (DataTable) value, not the cell's value.
copy = DataGridView2.Item(7, i).Value
The ReadOnly property of the cells column is false.
Any suggestion?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
