摘要: js代码 C#代码 [WebMethod] public static DateTime GetCurrentTime(string str) { return DateTime.Now; } 说明: C#方法必须加 "[WebMethod]" 前台页面必须使用引用 服务器控件 调用方法: PageMethods.后台方法名(参数[,参数....], 成功后调用的方法名); 必... 阅读全文
posted @ 2013-11-16 12:38 乐思草 阅读(410) 评论(0) 推荐(0) 编辑