Exemplo n.º 1
0
    private void BindClubCategories()
    {
        ListItem item;

        ClubCategories.DataSource = CategoryRepository.FindByType(Club.CategoryType);
        ClubCategories.DataBind();
        if ((item = ClubCategories.Items.FindByValue(QsCategoryId)) != null)
        {
            ClubCategories.ClearSelection();
            item.Selected = true;
        }
    }
Exemplo n.º 2
0
 private void BindClubCategories()
 {
     ClubCategories.DataSource = CategoryRepository.FindByType(Club.CategoryType);
     ClubCategories.DataBind();
 }