摘要: 利用JQuery的$.ajax()可以很方便的调用asp.net的后台方法。先来个简单的实例热热身吧。1、无参数的方法调用asp.net code:view plaincopy to clipboardprint?using System.Web.Script.Services;[WebMethod]public static string SayHello(){ return "Hello Ajax!";}using System.Web.Script.Services;[WebMethod]public static string SayHello(){ return 阅读全文
posted @ 2013-08-30 15:18 公元前 阅读(230) 评论(0) 推荐(0) 编辑