Thread: Approaching THB
View Single Post
  #43 (permalink)  
Old November 15th, 2007, 07:26 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 - ok, not using those tables mentioned but using the same relationships from the default TBH table. i've created a small project that uses the tbh_posts and tbh_forums tables to represent the 'lookup' functionality that you needed an example of. the only changes i've made, are in the UI (i.e. the default.aspx and code-behind). i've commented where those changes are and hopefully the penny will drop when you see the power that you've got at your 'fingertips'.

anyway, you can pick up the project here:

http://www.originaltalent.com/downloads/tbh_posts_1.zip

let me know if this example fits with your thinking on things.

[edit] you'll obviously need to change the <connectionStrings> in the web.config to point to your instance of the tbh database. mine is declared as Catalog=Originaltalent, so just change that part appropriately.

jimi

http://www.originaltalent.com