Hi,
I have create a program for multiplication of two numbers. when i run the proram it give me an error message that [B]input string was not in correct format[/B]. But whatever data i enterd its saved in database properly.
Here is my code.
private void textBox11_TextChanged(object sender, EventArgs e)
{
int a, b, c;
a = Convert.ToInt32(textBox10.Text);
[B][/B]b = Convert.ToInt32(textBox11.Text); // Here i got the error message.
c = a * b;
textBox12.Text = c.ToString();
}
Why i got this error please help me to solve this problem....