ajax登陆验证方法[归类].pdfVIP

  • 0
  • 0
  • 约6.41千字
  • 约 5页
  • 2021-10-13 发布于福建
  • 举报
1.在项目中先引用 ajaxPxo 的 ddl 文件。新建一个 WebForm2.aspx文件 在web.config的system.web / system.web中加上下面代码。 httpHandlers add verb =POST,GET path =ajaxpro/*.ashx type =AjaxPro.AjaxHandlerFactory, AjaxPro/ / httpHandlers 2 . 3 . 下面是 ajax 的方法,验证用户名和密码是否正确 [AjaxPro.AjaxMethod] public bool nameAndPwd(string userid, string userpwd) { SqlConnection con= new SqlConnection(server

文档评论(0)

1亿VIP精品文档

相关文档