protected void Page_Load(object sender, EventArgs e) { function.AccessRulo(); B_Admin badmin = new B_Admin(); string KeyWord = ""; string str = ""; if (Request.QueryString["KeyWord"] != null && Request.QueryString["KeyType"] != null) { KeyWord = Request.QueryString["KeyWord"]; if (!string.IsNullOrEmpty(KeyWord)) { str = bs.GetSelect(int.Parse(KeyWord)).SList; if (Request.QueryString["KeyType"] == "1") { Page_list(pll.GetProWhere(str)); tdnode.Visible = false; tr1.Visible = true; } else { string[] listarr = str.Split(new string[] { "," }, StringSplitOptions.None); string[][] x = new string[listarr.Length][]; foreach (string s in listarr) { M_Node mn = bn.GetNodeXML(DataConverter.CLng(s)); tdnode.InnerHtml += GetIcon(mn.NodeName, mn.NodeID.ToString(), mn.Depth.ToString(), mn.NodeType.ToString()) + "<br/>"; } tdnode.Visible = true; tr1.Visible = false; } } } Call.SetBreadCrumb(Master, "<li>商城管理</li><li>商品管理</li>"); }