public void FillTree(Microsoft.Web.UI.WebControls.TreeView tvtemp, string strQueryType)
        {
            string    strProvID    = this.txtProviderID.Text.Trim();
            string    strProvName  = this.txtProviderName.Text.Trim();
            string    strGoodsID   = this.txtGoodsID.Text.Trim();
            string    strGoodsName = this.txtGoodsName.Text.Trim();
            Hashtable htpara       = new Hashtable();

            htpara.Add("strProvID", strProvID);
            htpara.Add("strProvName", strProvName);
            htpara.Add("strGoodsID", strGoodsID);
            htpara.Add("strGoodsName", strGoodsName);

            Hashtable htapp   = (Hashtable)Application["appconf"];
            string    strcons = (string)htapp["cons"];

            StoBusi = new BusiComm.StorageBusi(strcons);

            DataTable table = StoBusi.GetProviderStockFillTree(strQueryType, htpara);

            tvtemp.Nodes.Clear();
            if (strQueryType == "prov")
            {
                Microsoft.Web.UI.WebControls.TreeNode node = new Microsoft.Web.UI.WebControls.TreeNode();
                node.ID       = "0";
                node.Text     = "供应商";
                node.Type     = "prov";
                node.ImageUrl = "../image/promotion.png";
                tvtemp.Nodes.Add(node);
            }
            else
            {
                Microsoft.Web.UI.WebControls.TreeNode node = new Microsoft.Web.UI.WebControls.TreeNode();
                node.ID       = "0";
                node.Text     = "货品";
                node.Type     = "good";
                node.ImageUrl = "../image/rss.png";
                tvtemp.Nodes.Add(node);

                DataTable dtPClass = (DataTable)Application["PClass"];
                foreach (DataRow dr in dtPClass.Rows)
                {
                    if (dr["vcCommSign"].ToString() == "Pack" || dr["vcCommSign"].ToString() == "Raw")
                    {
                        node          = new Microsoft.Web.UI.WebControls.TreeNode();
                        node.ID       = "0";
                        node.Text     = dr["vcCommName"].ToString();
                        node.Type     = "good";
                        node.ImageUrl = "../image/rss.png";
                        tvtemp.Nodes[0].Nodes.Add(node);
                    }
                }
            }

            foreach (DataRow row in table.Rows)
            {
                if (strQueryType == "prov")
                {
                    Microsoft.Web.UI.WebControls.TreeNode node = new Microsoft.Web.UI.WebControls.TreeNode();
                    node.ID       = row["cnvcPrvdCode"].ToString();
                    node.Text     = row["cnvcPrvdName"].ToString();
                    node.Type     = "prov";
                    node.ImageUrl = "../image/next.png";
                    tvtemp.Nodes[0].Nodes.Add(node);
                }
                else
                {
                    Microsoft.Web.UI.WebControls.TreeNode node = new Microsoft.Web.UI.WebControls.TreeNode();
                    node.ID       = row["cnvcGoodsName"].ToString();
                    node.Text     = row["cnvcGoodsName"].ToString();
                    node.Type     = "good";
                    node.ImageUrl = "../image/next.png";
                    foreach (Microsoft.Web.UI.WebControls.TreeNode notmp in tvtemp.Nodes[0].Nodes)
                    {
                        if (notmp.Text == row["cnvcProductClassName"].ToString())
                        {
                            notmp.Nodes.Add(node);
                            break;
                        }
                    }
                }
            }
        }