Thread: Approaching THB
View Single Post
  #71 (permalink)  
Old November 19th, 2007, 05:09 AM
jimibt jimibt is offline
Friend of Wrox
 
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts
Default

forumuser - i've uploaded another version of the tbh_posts thing that i did the other day with a minor addition. there is code in the default.aspx.cs page_init that sets up a few filters. this uses some custom sql objects but if you read the comments, you'll see how you could use it with your own 'where' clause. these objects are already embeded in that new template stuff that i uploaded the other day, so you should 'see' them in your own code if you used the new template/dll.

http://www.originaltalent.com/downlo...sts_filter.zip

[edit] just saw your previous question re providers etc. no, just include it the once and then reference it in the form 'JB.OriginalTalent.BLL.Posts.Forum' (in this case, Posts is my provider). as long as the data can be accessed via a provider (of your discression), then a single point of 'contact' is fine.

jimi

http://www.originaltalent.com