private void UpdateDateXMPJ(string PD_PROJECT_CODE) { List<PD_PROJECT_ATTACH_YS_Model> modelList = this.GetAttach_SSModel(PD_PROJECT_CODE); PD_PROJECT_ATTACH_YS_Bll bll = new PD_PROJECT_ATTACH_YS_Bll(); bll.Delete(PD_PROJECT_CODE); bll.AddList(modelList); }
private void ShowJGZL(string PD_PROJECT_CODE) { DataSet list = new PD_PROJECT_ATTACH_YS_Bll().GetList(" PD_PROJECT_CODE='" + PD_PROJECT_CODE + "'"); this.jsonData_xmyszl = PublicDal.DataToJSON(list); if (list.Tables[0].Rows.Count > 0) { list.Tables[0].Rows.Clear(); } DataRow row = list.Tables[0].NewRow(); row[1] = PD_PROJECT_CODE; list.Tables[0].Rows.Add(row); this.json_xmyszl = PublicDal.DataToJSON(list); }