I want to multiply two values
i want to multiply two values one from the text box and the other from the combobox and put the values in next text box
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.
Sandeep Singh ShekhawatPosted Dec 6, 2012, 11:45 PM
private void button1_Click(object sender, EventArgs e)
{
int firstNumber = Convert.ToInt32( txtNumber.Text);
int secondNumber = Convert.ToInt32(cmdNumber.Text);
txtOutput.Text = (firstNumber * secondNumber).ToString();
}
VulpesPosted Dec 6, 2012, 9:14 AM
Satyapriya NayakPosted Dec 6, 2012, 9:14 AM