Example #1
0
 protected void btn1_Click(object sender, EventArgs e)
 {
     lblresult.Text = ws.Add(Convert.ToInt16(txtbox1.Text), Convert.ToInt16(txtbox2.Text)).ToString();
 }
 protected void btnAdd_Click(object sender, EventArgs e)
 {
     lblResult.Text = calc.Add(Convert.ToInt16(txtBoxA.Text), Convert.ToInt16(txtBoxB.Text)).ToString();
 }