Groups and categories

rated by 0 users
Not Answered This post has 0 verified answers | 0 Replies | 1 Follower

Top 500 Contributor
93 Posts
Points 1,530
monkeyboy32 posted on Thu, Oct 9 2008 9:08 AM

Hi - I need to programatically get a list of group categories and then list all the groups in each category.

I need something like:

List<Categories> cList = GetCategories();

foreach(Category c in cList){

//Display the category name somewhere
//Now get the groups in the category

List<Group> gList = GetGroupsByCategoryID(c.ID);

foreach(Group g in gList){

//now display all the groups in this category

}

}

That code is obviously made up but I want something like that..

Any ideas?

  • | Post Points: 5
Page 1 of 1 (1 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com