Monday, October 13, 2014

Normal web services client



Normal web services client

 

Add button event
Firstly add reference
            int no1 = Int32.Parse(textBox1.Text.ToString());
            int no2 = Int32.Parse(textBox2.Text.ToString());

            Servicecal.CalulatorClient cal = new Servicecal.CalulatorClient();
            int ans=cal.Add(no1, no2);

            label3.Text = ans.ToString();

No comments:

Post a Comment