private void GetBChaoPanDuan() { string s = string.Format("Where Name='{0}'", _BChao); ConfigInfoManage cdal = new ConfigInfoManage(); _bChaoOBJ = cdal.GetObj(s); if (_bChaoOBJ != null) { textBox10.Text = _bChaoOBJ.Content; } }
public void selectXmlBcJudge() { try { bean.ConfigInfo obj = null; string s = "Where Name='安盛B超'"; ConfigInfoManage cdal = new ConfigInfoManage(); obj = cdal.GetObj(s); if (obj == null) { bcJudge = "未见明显异常#肝,胆,胰,脾未见异常"; } else { bcJudge = obj.Content; } } catch // 异常处理 { bcJudge = "未见明显异常#肝,胆,胰,脾未见异常"; } }
private void SetBChaoPanDuanInfo() { int type = 1; if (_bChaoOBJ == null) { _bChaoOBJ = new bean.ConfigInfo(); type = 0; } _bChaoOBJ.Name = _BChao; _bChaoOBJ.Content = textBox10.Text; ConfigInfoManage cdal = new ConfigInfoManage(); if (type == 0) { cdal.Insert(_bChaoOBJ); } else { cdal.Update(_bChaoOBJ); } }