protected void btnSub_Click(object sender, EventArgs e) { beachy.com.CalculatorSoapClient myclient = new beachy.com.CalculatorSoapClient(); lblAnswer.Text = myclient.Subtract(txtNum1.Text, txtNum2.Text); lblAnswer.Visible = true; }
protected void btnDiv_Click(object sender, EventArgs e) { beachy.com.CalculatorSoapClient myclient = new beachy.com.CalculatorSoapClient(); lblAnswer.Text = myclient.Divide(txtNum1.Text, txtNum2.Text); lblAnswer.Visible = true; }