![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ajax
文章平均质量分 81
gongth_12
巩腾辉
展开
-
jQuery AJAX实现调用页面后台方法和web服务定义的方法
1.新建demo.aspx页面。 2.首先在该页面的后台文件demos.aspx.cs中添加引用。 using System.Web.Services; 3.无参数的方法调用.大家注意了,这个版本不能低于.net framework 2.0。2.0已下不支持的。 后台代码: [WebMethod] public static string SayHello() {原创 2013-05-23 14:03:03 · 1992 阅读 · 0 评论 -
Jquery结合Ajax和Web服务使用三层架构实现无刷新分页
在Web服务里代码 /// /// WebService1 的摘要说明 /// [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel原创 2013-05-23 13:57:09 · 2620 阅读 · 0 评论