摘要: 1.需要引用对应的命名空间System.Web.Services2.后台方法; 必须是static 约束 必须添加[WebMethod()] 属性示例: [System.Web.Services.WebMethod()] public static string GetString() { return "{name:'lin'}"; } 阅读全文
posted @ 2013-08-22 22:46 sulin 阅读(274) 评论(0) 推荐(0)