コード例 #1
0
 protected void btndiv_Click(object sender, EventArgs e)
 {
     lblresult.Text = ws.Div(Convert.ToInt16(txtbox1.Text), Convert.ToInt16(txtbox2.Text)).ToString();
 }
コード例 #2
0
 protected void btnDiv_Click(object sender, EventArgs e)
 {
     lblResult.Text = calc.Div(Convert.ToInt16(txtBoxA.Text), Convert.ToInt16(txtBoxB.Text)).ToString();
 }