Exemplo n.º 1
0
        public void m_FillItemGrid()
        {
            DataTable dtResult   = new DataTable();
            string    strUsageID = m_objViewer.m_cboUsage.SelectItemValue;
            string    strCatID   = m_objViewer.m_cboCat.SelectItemValue;

            m_objViewer.m_dg.DataSource = dtResult;
            if (strUsageID == "")
            {
                MessageBox.Show("请选择用法", "提示");
                m_objViewer.m_cboUsage.Focus();
                return;
            }
            if (strCatID == "")
            {
                return;
            }
            long lngRes = clsDomain.m_lngFindItemNoUsageGroup(strCatID, strUsageID, out dtResult);

            m_objViewer.m_dg.DataSource = dtResult;
        }