Specifically:
Invoke the web service of http://samples.gotdotnet.com/quickstart/aspplus/samples/services/MathService/CS/MathService.asmx? WSDL
Which service privided the math mothd such as add/sub/mulite/div.
I invoke the mothd in the win ce with compact framework,
Ye, the result is out at faniliy. I am happy now.
Some source followed:
Switch (comboBox1.SelectedItem. ToString ())
{
Case "+ ":
TextBox3.Text
= MathService. Add (Single. Parse (textBox1.Text), Single. Parse (textBox2.Text). ToString ();
Break;
Case "-":
TextBox2.Text
= MathService. Subtract (Single. Parse (textBox1.Text), Single. Parse (textBox2.Text). ToString ();
Break;
Case "*":
TextBox2.Text
= MathService. Multiply (Single. Parse (textBox1.Text), Single. Parse (textBox2.Text). ToString ();
Break;
Case "/":
TextBox2.Text
= MathService. Divide (Single. Parse (textBox1.Text), Single. Parse (textBox2.Text). ToString ();
Break;
}