예제 #1
0
        private void gitdata()
        {
            //AdminRepository _Obj = new AdminRepository();
            //grd.DataSource = _Obj.LoadByActiveState();
            //grd.DataBind();

            //ddl.DataSource = _Obj.LoadByActiveState();
            //ddl.DataTextField = "username";
            //ddl.DataValueField = "Id";

            //ddl.DataBind();

            ProductImagesRepositories _obj = new ProductImagesRepositories();
            grd.DataSource = _obj.LoadByProductIdAndLanguageId("b5c66d73-b2fa-436d-817a-e5332af83934", "c9dd4e88-fca1-460d-a0ab-233ddcf876ca");
            grd.DataBind();
            //PageSectionsRepository _obj = new PageSectionsRepository();
            //grd.DataSource = _obj.LoadByActiveState();
            //grd.DataBind();

            //LanguageRepository _Obj = new LanguageRepository();
            //grd.DataSource = _Obj.LoadByActiveState();
            //grd.DataBind();

            //PageRepository _Obj = new PageRepository();
            //grd.DataSource = _Obj.LoadByActiveState();
            //grd.DataBind();
        }