摘要: 1、新建网站,选择Asp.net Ajax Enabled Web Site 模板(如图) 2、 中增加 EnablePageMethods="True" ,以启用PageMethods 3、编写服务器端方法代码 [System.Web.Services.WebMethod] public static string GetServerTime() { return DateTim... 阅读全文
posted @ 2008-04-18 15:27 克隆 阅读(806) 评论(0) 推荐(0) 编辑