/// <summary> /// 添加记录 /// </summary> /// <param name="id"></param> /// <returns></returns> public ActionResult CreateRecord(string id) { ViewBag.TableName = id; if (!string.IsNullOrEmpty(id)) { id = id.Replace("'", "").Replace("%", ""); } return(View(SqliteDBHelper.GetRecord(id, 0))); }