Click or drag to resize
ForumPostInfoProviderSelectForumPosts Method (String, String, Int32, String)
Returns the DataSet of forum posts joined with user, user settings and other tables.

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 8.2.23
Syntax
C#
public static InfoDataSet<ForumPostInfo> SelectForumPosts(
	string whereCondition,
	string orderBy,
	int topN,
	string columns
)

Parameters

whereCondition
Type: SystemString
Where condition
orderBy
Type: SystemString
Order specification
topN
Type: SystemInt32
Select TOP N posts
columns
Type: SystemString
List of columns which should be selected

Return Value

Type: InfoDataSetForumPostInfo
See Also