private void MeunBind()
 {
     using (BLLProductType bll = new BLLProductType())
     {
         SearchProductType cond = new SearchProductType();
         cond.IsEnglish = 1;
         List <ProductType> lists = bll.GetList(cond);
         rptProType.DataSource = lists;
         rptProType.DataBind();
     }
 }
Exemple #2
0
        private void ShowMenu()
        {
            SearchProductType snt = new SearchProductType();

            snt.IsEnglish = 1;
            //Pagination pagination = new DevNet.Common.Pagination(1,10, 0);
            using (BLLProductType bll = new BLLProductType())
            {
                List <ProductType> lists = bll.GetList(snt);
                rptProducttype.DataSource = lists;
                rptProducttype.DataBind();
            }
        }