/// <summary> /// 获取记录 /// </summary> /// <param name="id"></param> /// <returns></returns> public ActionResult Records(string id, int?pageIndex, int?pageSize) { ViewBag.TableName = id; if (!string.IsNullOrEmpty(id)) { id = id.Replace("'", "").Replace("%", ""); } ViewData["column"] = SqliteDBHelper.GetMap(id); return(View(SqliteDBHelper.GetRecords(id).ToPagedList(pageIndex ?? 1, pageSize ?? 12))); }