摘要:
利用JQuery的$.ajax()可以很方便的调用asp.net的后台方法。先来个简单的实例热热身吧。1、无参数的方法调用C#后台代码:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1 2 using System.Web.Services;3 [WebMethod]4 public static string sayHi()5 {6 return "Hi,Welcome to China!";7 }8 注意:1.... 阅读全文
posted @ 2011-06-06 23:17
jackljf
阅读(140)
评论(0)
推荐(0)
浙公网安备 33010602011771号