public string updateSysPara() { string[] lstParaId = Request["paraId"].Split(','); string[] lstKey = Request["keyField"].Split(','); string[] lstValue = Request["valueField"].Split(','); List <SYS_PARA> lst = new List <SYS_PARA>(); for (int i = 0; i < lstParaId.Length; i++) { SYS_PARA p = new SYS_PARA(); p.PARA_ID = Convert.ToInt32(lstParaId[i]); p.VALUE_FIELD = lstValue[i]; p.KEY_FIELD = lstKey[i]; lst.Add(p); } string json = JsonConvert.SerializeObject(lst); log.Debug("json=" + json); string result = SystemParameter.UpdateSysPara(lst); return(result); }