I need to show a particular thread that resides in a discussion board. I am currently trying to use SPViews.
The following is my code
SPView threadedView = discussionBoard.Views["Threaded"]; threadedView.Title = "Comments WebPart"; //threadedView.Query = query.ToString(); threadedView.RenderAsHtml();
however this view is giving me all the discussion threads in the discussion board not a single thread which is needed. tried also to set a query for the view but was useless. can anyone help pls.