示例#1
0
        /// <summary>
        /// 获取特种病信息
        /// </summary>
        public void m_mthLoadYBSpeDea()
        {
            clsDcl_DoctorWorkstation objDoct = new clsDcl_DoctorWorkstation();

            DataTable dt;

            long l = objDoct.m_lngGetYBSpeciaTypeDisease(out dt);

            if (l > 0 && dt.Rows.Count > 0)
            {
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    DataRow  dr = dt.Rows[i];
                    string[] s  = new string[2];
                    s[0] = Convert.ToString(i + 1);
                    s[1] = dr["deadesc_vchr"].ToString();

                    int row = this.dtgDea.Rows.Add(s);
                    this.dtgDea.Rows[row].Tag = dr;
                }
            }
            else
            {
                MessageBox.Show("无门诊医保特种病信息。", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }