I want to convert integer from TextBox
to another TextBox
. I have this code, but it only converts at the beginning, and nothing shappen when I change the TextBox
.
int j = 100;
int value = 0;
for (int i = 0; i <= j; i++)
{
if (AtextBox.Text == i.ToString())
{
value = j - i;
BtextBox.Text = value.ToString();
}
}
How can BtextBox
changes everytime i change the AtextBox
?