Exemplo n.º 1
0
 private void RptBind(string _strWhere)
 {
     this.txtKeywords.Text = this.keywords;
     BLL.StoreDomain bll = new BLL.StoreDomain();
     this.rptList.DataSource = bll.GetList(0, _strWhere, "Id DESC");
     this.rptList.DataBind();
 }
Exemplo n.º 2
0
 private void RptBind(string _strWhere)
 {
     this.txtKeywords.Text = this.keywords;
     BLL.StoreDomain bll = new BLL.StoreDomain();
     this.rptList.DataSource = bll.GetList(0, _strWhere, "Id DESC");
     this.rptList.DataBind();
 }
Exemplo n.º 3
0
        private void TreeBind(string strWhere)
        {
            BLL.StoreDomain bll = new BLL.StoreDomain();
            DataTable       dt  = bll.GetList(0, strWhere, "Id desc").Tables[0];

            this.ddlStoreDomain.Items.Clear();
            this.ddlStoreDomain.Items.Add(new ListItem("请选择仓库区域...", ""));
            foreach (DataRow dr in dt.Rows)
            {
                this.ddlStoreDomain.Items.Add(new ListItem(dr["Name"].ToString(), dr["Id"].ToString()));
            }
        }
Exemplo n.º 4
0
        private void TreeBind(string strWhere)
        {
            BLL.StoreDomain bll = new BLL.StoreDomain();
            DataTable dt = bll.GetList(0, strWhere, "id desc").Tables[0];

            this.ddlStoreDomain.Items.Clear();
            this.ddlStoreDomain.Items.Add(new ListItem("所有仓库区域", ""));
            foreach (DataRow dr in dt.Rows)
            {
                this.ddlStoreDomain.Items.Add(new ListItem(dr["Name"].ToString(), dr["Id"].ToString()));
            }
        }