通过([AjaxPro.AjaxMethod(AjaxPro.HttpSessionStateRequirement.Read)] )在前台html页面调用cs方法
app_code中CS代码(Cs页面文件名publicclassajaxGET):[AjaxPro.AjaxMethod(AjaxPro.HttpSessionStateRequirement.Read)]publicDataTablegetchild(stringstr){returnnewtab...
asp.net下ajax.ajaxMethod使用方法
使用AjaxMethod可以在客户端异步调用服务端方法,简单地说就是在JS里调用后台.cs文件里的方法,做一些JS无法做到的操作,如查询数据库