예제 #1
0
        private void LoadItem()
        {
            IItem bll = new ItemBLL();

            int    cb_index     = Conv.ToInt(cb.SelectedValue);
            string selectedNode = this.tv.SelectedNode == null ? "" : this.tv.SelectedNode.Tag.ToString();

            if (cb_index == 1)
            {
                tb = bll.GetDataTable(selectedNode, "", 0, 1, 999999999, out cb_index);
            }
            else if (cb_index == 2)
            {
                tb = bll.GetDataTable_BySup(selectedNode, "", 0, 1, 999999999, out cb_index);
            }
            else
            {
                tb = bll.GetDataTable("", "", 0, 1, 999999999, out cb_index);
            }
        }