国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 編程 > .NET > 正文

.net compact framework 加 web service的演練.

2024-07-10 13:01:38
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友
具體是這樣的:

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;

}

發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 桂林市| 屯昌县| 堆龙德庆县| 河西区| 苍梧县| 信阳市| 赫章县| 石渠县| 锦屏县| 诏安县| 长乐市| 墨江| 荔浦县| 景德镇市| 台东县| 阿拉尔市| 仙游县| 巴塘县| 方山县| 同心县| 芜湖市| 马公市| 汕头市| 桃园市| 岳池县| 汨罗市| 伊春市| 米泉市| 石渠县| 淅川县| 建德市| 磴口县| 衡阳县| 昌图县| 湖南省| 汉中市| 大同县| 大安市| 吴堡县| 临汾市| 上饶县|