/// <summary> /// 绑定此患者的已经填写好的状态信息 /// </summary> private void InitSateData() { DataTable m_StateData = new DataTable(); m_StateData = MethodSet.GetStateData(NoOfFirstPage); gridControlState.DataSource = m_StateData; }
/// <summary> /// 绑定此患者的已经填写好的状态信息 /// </summary> private void InitSateData() { DataTable m_StateData = new DataTable(); //ywk 增加入院和出院时间,筛选查询结果 string outwarddate = string.Empty; //出院时间 string admitdate = string.Empty; //入院时间 DataTable dtInfo = PublicSet.MethodSet.GetPatData(NoOfinPat); //DataTable dtInfo = PublicSet.MethodSet.GetPatData(m_currInpatient.NoOfFirstPage.ToString()); if (dtInfo.Rows.Count > 0) { outwarddate = dtInfo.Rows[0]["OUTWARDDATE"].ToString(); admitdate = dtInfo.Rows[0]["INWARDDATE"].ToString(); } if (string.IsNullOrEmpty(admitdate)) { return; } //m_StateData = MethodSet.GetStateData(m_currInpatient.RecordNoOfHospital.ToString(), m_currInpatient.NoOfFirstPage.ToString(), outwarddate, admitdate); m_StateData = MethodSet.GetStateData(RecordNoofinpat, NoOfinPat, outwarddate, admitdate); gridControlState.DataSource = m_StateData; }