国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 长寿区| 涪陵区| 白玉县| 姜堰市| 日照市| 綦江县| 澳门| 留坝县| 南漳县| 饶阳县| 南丰县| 久治县| 廉江市| 大名县| 都江堰市| 淅川县| 常山县| 视频| 友谊县| 通山县| 余姚市| 安塞县| 林西县| 庆云县| 贵定县| 报价| 吉木乃县| 望城县| 沈阳市| 广安市| 闽清县| 天峻县| 兴安县| 安多县| 祁门县| 博客| 灵寿县| 杭锦旗| 酒泉市| 昆明市| 山东省|