具体是这样的:
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;
}
