Esempio 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;
        }
    }
Esempio n. 2
0
 private void BindClubCategories()
 {
     ClubCategories.DataSource = CategoryRepository.FindByType(Club.CategoryType);
     ClubCategories.DataBind();
 }