Hi, i am writing a
Vb.net program where i want to display records from three different Sql tables of same database. suppose i have table1 with Topic, table2 with Category and table3 with Ideas. each topic has many categories and each category has many ideas. my table relationship is one-many between Ideas and Category, also one-many between Category and Topic.
my question is how do i display all these in a table on a webpage...
i would like the result to be like...
__________________________________________________ ___________________
"TOPIC 1"
__________________________________________________ ___________________
Category "1"
Idea "1"
Idea "2"
idea "3"
Category "2"
Idea "1"
Idea "2"
Idea "3"
category "3"
Idea "4"
Idea "5"
Idea "5"
__________________________________________________ _________________
and so on.....
my main purpose is to display Category and idea but i can't seem to get the commands right.
__________________________________________________ _________________
my Topic Table has fields UID, Topic
Category Table has UID, Category, BelongTopicUID
Idea Table has UID, Idea, BelongCategoryUID
__________________________________________________ _________________
i hope that you all good people can help me out with this problem. i am really desperate and tried it for a long time but could not get it right. Thanking you all in Advance...