Click here to Skip to main content
15,921,694 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: File management website advice Pin
Paddy Boyd12-May-09 5:29
Paddy Boyd12-May-09 5:29 
AnswerRe: File management website advice Pin
AlexeiXX312-May-09 6:35
AlexeiXX312-May-09 6:35 
AnswerRe: File management website advice Pin
Gene Arnold12-May-09 14:43
Gene Arnold12-May-09 14:43 
GeneralRe: File management website advice Pin
AlexeiXX314-May-09 8:42
AlexeiXX314-May-09 8:42 
QuestionCreate navigation via ASP.net and MS SQL. Pin
Mantaii12-May-09 3:36
Mantaii12-May-09 3:36 
AnswerRe: Create navigation via ASP.net and MS SQL. Pin
Herman<T>.Instance12-May-09 23:56
Herman<T>.Instance12-May-09 23:56 
GeneralRe: Create navigation via ASP.net and MS SQL. Pin
Mantaii12-May-09 23:58
Mantaii12-May-09 23:58 
QuestionRe: Create navigation via ASP.net and MS SQL. [modified] Pin
Mantaii13-May-09 0:32
Mantaii13-May-09 0:32 
[Edited original post to give you more details]

I think recursion is what I need to use but I need some help with the way to structure it.

I have a MS SQL database table with the following columns:

ID, ParentID, Section, FolderName, Description.

ID is an auto-increment column.
ParentID is a number to show where in the menu structure it should be, i.e. 0 is root, 1 is the next level down, 2 is after that etc...
Section is text, i.e. Technical
FolderName is the link text
Description is just text which is displayed under the FolderName so people know what they will find if they click on the link

The issue I am having is trying to create a dynamic links page. What I want is if I navigate to the Technical section it will display all the Parents which have an ID of 0 and link to their child pages and when I click on the link I will get all Child links with descriptions, this would continue until there are no more links to display.

Any help with this would be very grateful.

modified on Wednesday, May 13, 2009 7:13 AM

AnswerRe: Create navigation via ASP.net and MS SQL. Pin
Herman<T>.Instance13-May-09 1:14
Herman<T>.Instance13-May-09 1:14 
Questionauthenticated rss feed Pin
Xpycm12-May-09 3:32
Xpycm12-May-09 3:32 
QuestionRead Email from OutLook Pin
Usharva12-May-09 2:42
Usharva12-May-09 2:42 
AnswerRe: Read Email from OutLook Pin
Christian Graus12-May-09 2:43
protectorChristian Graus12-May-09 2:43 
RantRe: Read Email from OutLook Pin
Brian W King12-May-09 3:06
Brian W King12-May-09 3:06 
GeneralRe: Read Email from OutLook Pin
Christian Graus12-May-09 7:39
protectorChristian Graus12-May-09 7:39 
AnswerRe: Read Email from OutLook Pin
Yusuf12-May-09 7:58
Yusuf12-May-09 7:58 
QuestionFetch GridView Rows... Pin
spalanivel12-May-09 1:58
spalanivel12-May-09 1:58 
AnswerRe: Fetch GridView Rows... Pin
Baran M12-May-09 2:26
Baran M12-May-09 2:26 
AnswerRe: Fetch GridView Rows... Pin
NetQuestions12-May-09 4:27
NetQuestions12-May-09 4:27 
QuestionVertical Scroll bar in a treeview Pin
meeram39512-May-09 1:44
meeram39512-May-09 1:44 
AnswerRe: Vertical Scroll bar in a treeview Pin
Ramesh Swaminathan12-May-09 2:48
Ramesh Swaminathan12-May-09 2:48 
GeneralRe: Vertical Scroll bar in a treeview Pin
meeram39512-May-09 2:52
meeram39512-May-09 2:52 
AnswerRe: Vertical Scroll bar in a treeview Pin
Member 475589313-May-09 1:20
Member 475589313-May-09 1:20 
QuestionShow video in Thumbnail Pin
Jain Vijay12-May-09 1:39
Jain Vijay12-May-09 1:39 
AnswerRe: Show video in Thumbnail Pin
Ramesh Swaminathan12-May-09 2:14
Ramesh Swaminathan12-May-09 2:14 
AnswerRe: Show video in Thumbnail Pin
Christian Graus12-May-09 2:17
protectorChristian Graus12-May-09 2:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.