Beispiel #1
0
 protected void btn_result_Click(object sender, EventArgs e)
 {
     AddNumbersSoapClient client = new AddNumbersSoapClient();
     var tal1 = int.Parse(txtBoxOne.Text);
     var tal2 = int.Parse(txtBoxTwo.Text);
     lbl_result.Text = client.AddTwoNumbers(tal1, tal2).ToString();
 }
Beispiel #2
0
        protected void btn_result_Click(object sender, EventArgs e)
        {
            AddNumbersSoapClient client = new AddNumbersSoapClient();
            var tal1 = int.Parse(txtBoxOne.Text);
            var tal2 = int.Parse(txtBoxTwo.Text);

            lbl_result.Text = client.AddTwoNumbers(tal1, tal2).ToString();
        }