//姓名下拉 public JsonResult AutoUserName() { string keyword = RequestParameters.Pstring("q"); int limit = RequestParameters.Pint("limit"); if (limit <= 0) { limit = 10; } if (limit >= 10) { limit = 10; } if (limit > 100) { limit = 10; } var cBll = new UsersBll(); var searchList = cBll.SearchListByAuto(keyword, limit); if (searchList == null) { searchList = new List <tbOrgTLJGCongYe>(); } return(Json(searchList)); }