On my Windows Form, I have ten text boxes. I also have a DataGridView.
When a user clicks a row on the DataGridView, the column values get
displayed on their respective text boxes and are available for user to
edit or delete that record.
At present, I am using a boolean variable and it's value becomes true
whenever a user replaces old text in the Text Box with a new text.
When the user clicks a button, it checks whether the value of this
variable is true or not. If yes, it calls the update method.
The problem is that even if the user makes changes in one Text Box,
the update method will perform update for all the columns of the row.
Is there any way to effectively do this task so that only the column
whose value is changed is updated without performing update on other
columns. I don't want to use too many variables.