Exemplo n.º 1
0
    //---------------------------------------------------------
    //LoadData
    //---------------------------------------------------------
    protected override void LoadData()
    {
        List <AdvPlacesEntity> advPlacesList = AdvPlacesFactory.GetAll(AdvPlaceTypes.UnDefined);

        LoadGrid(advPlacesList, "PlaceID");
    }
Exemplo n.º 2
0
    //---------------------------------------------------------
    //Load_ddlAdvPlaces
    //---------------------------------------------------------
    protected void Load_ddlAdvPlaces()
    {
        List <AdvPlacesEntity> AdvPlacesList = AdvPlacesFactory.GetAll(PlaceType);

        OurDropDownList.LoadDropDownList <AdvPlacesEntity>(AdvPlacesList, ddlAdvPlaces, "Title", "PlaceID", true);
    }