I want to to multiply textbox1(int) by textbox2(double) and return a double in textbox3 Im doing an Invoice app and need to multiply quantity by rate to get amount so far I have this...
private void textbox2_TextChanged(object sender, system.EventArgs e)
{
int32 qty = int32.Parse(Textbox1.text);
Double rate = Double.Parse(Textbox2.text);
Double amt = qty * rate;
textbox3.text = amt.ToString();
}
Where am I going wrong?