Hello,
You can use
GetAllForums(String where, String orderBy) method of
ForumInfoProvider class.
If I understand you correctly, to get children forums of a particular forum group it should be used with parameters like this:
// Get all forums of a forum group
DataSet ds = ForumInfoProvider.GetAllForums("ForumGroupID = " + forumGroupID, null);
// Write forum names to textbox
if (!DataHelper.DataSourceIsEmpty(ds))
{
foreach (DataRow dr in ds.Tables[0].Rows)
{
TextBoxForum.Text += Convert.ToString(dr["ForumDisplayName"]) + ", ";
}
}
You can view all properties of a forum in
Forums_Forum database table to achieve your required functionality.
Best regards,
Filip Ligac