protected void Page_Load(object sender, EventArgs e) { if (!this.Page.IsPostBack) { B_Admin badmin = new B_Admin(); if (!B_ARoleAuth.Check(ZLEnum.Auth.shop, "ProductManage")) { function.WriteErrMsg("没有权限进行此项操作"); } string id = base.Request.QueryString["id"]; if (string.IsNullOrEmpty(id)) { function.WriteErrMsg("没有指定要移动的商品ID", "ProductMove.aspx"); } else { this.TxtContentID.Text = id.Trim(); } //this.DDLNode.DataSource = this.bnode.CreateDP(0); //this.DDLNode.DataTextField = "NodeName"; //this.DDLNode.DataValueField = "NodeID"; //this.DDLNode.DataBind(); Node_Lit.Text = nll.CreateDP(nll.GetAllShopNode()); } Call.SetBreadCrumb(Master, "<li><a href='" + CustomerPageAction.customPath2 + "Main.aspx'>工作台</a></li><li><a href='ProductManage.aspx'>商城管理</a></li><li class='active'>商品批量移动</li>"); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { MyBind(); DataTable dt = nodeBll.GetAllShopNode(0); NodeHtml_L.Text = nodeBll.CreateDP(dt); Call.HideBread(Master); } }
private void BindShop() { DataTable dt = nodeBll.GetAllShopNode(); nodeHtml.Text = "<ul class='tvNav'><li><a href='" + spath + "ProductManage.aspx' class='list1' id='a0'><span class='list_span'>全部内容</span><span class='fa fa-list'></span></a>" + GetLI(dt) + "</li></ul>"; }
protected void BindNode() { DataTable dt = nodeBll.GetAllShopNode(); nodeHtml.Text = "<ul class='tvNav'><li><a class='list1' id='a0' onclick='ShowMain(\"\",\"" + CustomerPageAction.customPath2 + "Shop/ProductManage.aspx\");'><span class='list_span'>全部商品</span><span class='fa fa-list'></span></a>" + GetLI(dt) + "</li></ul>"; }