摘要:
在 注册页面 NewUser 的 Controller中写以下代码public ActionResult GetUserIndataByUserName(){ string UserName=Request["UserName"].ToString(); User u= GetUserByName(UserName) ; var isValid=true; if(u!=null) isValid=false; return Json( isValid , JsonRequestBehavior.AllowGet);}在NewUser的视图中写如下代码 $("#Us 阅读全文
posted @ 2013-11-14 21:37
酒沉吟
阅读(227)
评论(0)
推荐(0)

浙公网安备 33010602011771号