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;

 

相关文章:

  • 2021-06-27
  • 2021-07-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-13
  • 2021-06-11
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-01
  • 2021-11-25
  • 2022-12-23
  • 2022-01-29
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案