WebService地址栏输入方法名参数直接返回数据
在web.config中的<system.web>节点下加上
<webServices>
<protocols>
<add name="HttpPost"/>
<add name="HttpGet"/>
<add name="HttpSoap"/>
<add name="Documentation"/>
</protocols>
</webServices>
调用方式: