摘要:
app_code中CS代码( Cs页面文件名public class ajaxGET):[AjaxPro.AjaxMethod(AjaxPro.HttpSessionStateRequirement.Read)]public DataTable getchild(string str){ return new table();}前台aspx页面注册ajax方法:AjaxPro.Utility.RegisterTypeForAjax(typeof(ajaxGET));前台页面调用JS直接调用:var dt= ajaxGET.getchild(va.value).value; 阅读全文