摘要:
很多东西都不会,从头学起;这里贴使用PageMethods调用后台方法在后台上写两个方法,一个是有参,一个无参 [System.Web.Services.WebMethod] [System.Web.Script.Services.ScriptMethod] public static object GetStatus() { return System.DateTime.Now.ToString(); } [System.Web.Services.WebMethod] [System.Web.Script.Services.ScriptMethod] public static object
阅读全文
posted @ 2012-06-27 17:44
KimhillZhang
阅读(1273)
推荐(0)
摘要:
中午无意中看到Sys.UI.DomElement,查了下资料原来是Ajax的,这里贴出用法,也是网上看的资料。<form id="form1" runat="server"><asp:scriptmanager runat="server"></asp:scriptmanager>//这个是必须的;因为他是ajax的;<asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers=
阅读全文
posted @ 2012-06-27 15:04
KimhillZhang
阅读(405)
推荐(0)