KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Say I have a global variable INT named X. Since X is global, we can assume that anything can modify its value so it is being changed everytime. Say I have a Label control named "label". Here's what I want to accomplish: I want to "bind" the value of label.Text to variable X. In such a way that when variable X is changed, it will be reflected back to label.Text. Now, I don't want to write event listeners and play with delegates with this one (I want the least amount of code as possible). Is there a way to use the DataBinding component for this one? or any other novel techniques?
Tags (comma-separated)
Save Edits
Cancel