I would like to use a button to update a bool field in a dB, using a SqlDataSourse.
The default value in the dB is ‘0’ I would like the button click event to change it to ‘1’.
The SqlDataSourse is set to ‘Select *’ for the table name.
Could someone show me how to do this, in C#?
In other words, i would like the dB to be updated when a event is triggered.
Thanks for any help in advance.