摘要: 利用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 "He 阅读全文
posted @ 2010-12-08 15:51 freedom831215 阅读(283) 评论(0) 推荐(0) 编辑