Ejemplo n.º 1
0
        private void bind()
        {
            Maticsoft.BLL.FuWuTypeInfo fuwubll = new Maticsoft.BLL.FuWuTypeInfo();
            DataSet fuwuds = fuwubll.GetAllList();

            dtlstfuwu.DataSource = fuwuds;
            dtlstfuwu.DataBind();

            Maticsoft.BLL.NewsTypeInfo newsbll = new Maticsoft.BLL.NewsTypeInfo();
            DataSet newsds = newsbll.GetAllList();

            dtlistNews.DataSource = newsds;
            dtlistNews.DataBind();



            Maticsoft.BLL.NicheTypeInfo nichebll = new Maticsoft.BLL.NicheTypeInfo();
            DataSet nicheds = nichebll.GetAllList();

            drpNiche.DataSource = nicheds;
            drpNiche.DataBind();


            Maticsoft.BLL.ProductType probll = new Maticsoft.BLL.ProductType();
            DataSet prods = probll.GetAllList();

            drpxing.DataSource     = prods;
            drpxing.DataTextField  = "ProTypeTitle";
            drpxing.DataValueField = "ProTypeID";
            drpxing.DataBind();
        }
Ejemplo n.º 2
0
        private void bind()
        {
            Maticsoft.BLL.NicheTypeInfo typebll = new Maticsoft.BLL.NicheTypeInfo();
            DataSet typeds = typebll.GetAllList();

            drpNicheType.DataSource     = typeds;
            drpNicheType.DataTextField  = "NicheTypeTitle";
            drpNicheType.DataValueField = "NicheTypeID";
            drpNicheType.DataBind();
        }