autocalculation
When i type the value in one text box automatically it should calculate and display in another textbox
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Jul 29, 2012, 2:25 PM
rashmi kcPosted Jul 29, 2012, 10:01 AM
VulpesPosted Jul 17, 2012, 5:01 AM
rashmi kcPosted Jul 17, 2012, 2:38 AM
when i select the 3 from the combobox that value should display in the textbox1 and its answer display in textbox2
Is this correct??????
I am selecting the value from combo but not displaying in the textbox1
textBox1.Focus();
Satyapriya NayakPosted Jul 16, 2012, 11:32 PM
Another way
private void textBox1_TextChanged(object sender, EventArgs e)
{
decimal a, b;
a = Convert.ToDecimal(textBox1.Text);
b = a * 2;
textBox2.Text = b.ToString();
}
Thanks
VulpesPosted Jul 16, 2012, 3:22 PM
textBox1.Focus();