Exemple #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         conBll.SelMyStore_Ex();
         class0.DataSource = nodeBll.GetNodeListUserShop(0);
         class0.DataBind();
     }
 }
Exemple #2
0
        public string ShopNode_API()
        {
            M_APIResult retMod = new M_APIResult(M_APIResult.Success);
            int         nid    = DataConvert.CLng(Request["nid"]);
            //DataTable dt = DBCenter.SelWithField("ZL_Node", "NodeID,NodeName", "ParentID=" + nid);
            DataTable dt = nodeBll.GetNodeListUserShop(nid);

            dt            = dt.DefaultView.ToTable(false, "NodeID", "NodeName");
            retMod.result = JsonConvert.SerializeObject(dt);
            return(retMod.ToString());
        }