/// <summary> /// 根据Name过滤数据 /// </summary> /// <returns></returns> public ActionResult GetDataByName() { UserSystem.Business.User bllUser = new Business.User(); var name = Request.QueryString["name"]; DataTable dt = bllUser.GetList(string.Format("Name like '{0}%'", name)).Tables[0]; string json = UserSystem.Commom.JsonHelper.ToJson(dt); return Content(json); }