Dear all,
I have a simple UI form with some controls (textboxes, checkboxes, datagridviews etc.)
The form communicates with an object that contains the values that should be displayed in the controls.
I would like to:
1. Simply bind the data to the controls
2. If I programatically change a value of the object, the control should update its contents
3. Vice-versa, if the user changes a control's value, the change should be applied to the bound object automatically.
Can this be done in an easy way? Do I need to proceed to some kind of database programming? Does anyone come up with a simple example on tutorial?
Thank you in advance.
I have a simple UI form with some controls (textboxes, checkboxes, datagridviews etc.)
The form communicates with an object that contains the values that should be displayed in the controls.
I would like to:
1. Simply bind the data to the controls
2. If I programatically change a value of the object, the control should update its contents
3. Vice-versa, if the user changes a control's value, the change should be applied to the bound object automatically.
Can this be done in an easy way? Do I need to proceed to some kind of database programming? Does anyone come up with a simple example on tutorial?
Thank you in advance.