Click here to Skip to main content
15,908,931 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to get "month" from dd-mm-yyyy format Pin
Eduard Keilholz3-Apr-08 2:56
Eduard Keilholz3-Apr-08 2:56 
AnswerRe: how to get "month" from dd-mm-yyyy format Pin
Pete O'Hanlon3-Apr-08 11:46
mvePete O'Hanlon3-Apr-08 11:46 
GeneralJavascript Problem in ASP.Net Pin
lav naphade3-Apr-08 2:08
lav naphade3-Apr-08 2:08 
GeneralRe: Javascript Problem in ASP.Net Pin
eyeseetee3-Apr-08 2:47
eyeseetee3-Apr-08 2:47 
AnswerRe: Javascript Problem in ASP.Net Pin
Ashish Sehajpal3-Apr-08 3:27
Ashish Sehajpal3-Apr-08 3:27 
GeneralRe: Javascript Problem in ASP.Net Pin
Sankar Komma 3-Apr-08 3:52
Sankar Komma 3-Apr-08 3:52 
QuestionCrystal Reports--display totals of previous pages on end page Pin
Manpreet Sadana3-Apr-08 1:46
Manpreet Sadana3-Apr-08 1:46 
GeneralGrouping Levels with Database Records Pin
asp_35823-Apr-08 1:28
asp_35823-Apr-08 1:28 
Hi Guys... Hope your all well...

Quick question... I have the following database:

Level PageID Title top_Id parent_id
1 1 test1 4 0
2 2 test2 4 1
2 3 test3 4 1
2 4 test4 4 1
3 5 sub2 4 2
3 6 sub3 4 2
3 7 sub3 4 2

Basically it prints out like this:

Level 1 : Jobs
Level 2 : Fianance
Level 2 : Exec
Level 2 : IT and Services
Level 2 : Wages
Level 2 : Test page2
Level 3 : Finance1
Level 3 : Child Page 1
Level 3 : IT 1
Level 3 : wages 1
Level 3 : tester 1
Level 3 : tester
Level 3 : wages 2
Level 3 : IT 2
Level 3 : Child Page 2
Level 3 : Finance2

What i want to be able to do is show all level 3 pages underneath level 2... A bit like a menu structure would work. I have played around and tried different things, but i am losing. any help would be very much welcomed or pointers to some tutorials would be great. Many thanks.


I have wrote the following code (ASP.Net VB) to get the basis of what i want to do:


-----------------------------------------------------------------

Do While (dr.Read())
Select Case dr("level")
Case "1"
s = s & "Level 1 : " & dr("p_title") & ""
Case "2"
s = s & "    Level 2 : " & dr("p_title") & ""
Case "3"
s = s & "       Level 3 : " & dr("p_title") & ""
End Select

Loop

------------------------------------------------------------------------------
GeneralHi friends... Javascript debugging software tool Pin
G Nathan3-Apr-08 1:23
G Nathan3-Apr-08 1:23 
QuestionHi friends... Javascript debugging software tool Pin
G Nathan3-Apr-08 0:39
G Nathan3-Apr-08 0:39 
GeneralRe: Hi friends... Javascript debugging software tool Pin
rah_sin3-Apr-08 1:08
professionalrah_sin3-Apr-08 1:08 
Questionhow to configure or publish the .net 2005 web application Pin
M.Ramesh2-Apr-08 23:20
M.Ramesh2-Apr-08 23:20 
QuestionNested Data Web Controls Pin
RajeevKumarSharma2-Apr-08 21:57
RajeevKumarSharma2-Apr-08 21:57 
GeneralRe: Nested Data Web Controls Pin
N a v a n e e t h2-Apr-08 22:43
N a v a n e e t h2-Apr-08 22:43 
GeneralRe: Nested Data Web Controls Pin
rahul.net112-Apr-08 22:56
rahul.net112-Apr-08 22:56 
GeneralJavaScript in C# in ASP.NET... Pin
Reelix2-Apr-08 21:32
Reelix2-Apr-08 21:32 
GeneralRe: JavaScript in C# in ASP.NET... Pin
Sandeep Akhare2-Apr-08 21:57
Sandeep Akhare2-Apr-08 21:57 
GeneralRe: JavaScript in C# in ASP.NET... Pin
N a v a n e e t h2-Apr-08 22:41
N a v a n e e t h2-Apr-08 22:41 
QuestionHow to catch Runtime errors and Log them on a ASP.NET project? Pin
pubududilena2-Apr-08 21:11
pubududilena2-Apr-08 21:11 
AnswerRe: How to catch Runtime errors and Log them on a ASP.NET project? Pin
eyeseetee2-Apr-08 21:19
eyeseetee2-Apr-08 21:19 
AnswerRe: How to catch Runtime errors and Log them on a ASP.NET project? Pin
Sandeep Akhare2-Apr-08 21:21
Sandeep Akhare2-Apr-08 21:21 
GeneralRe: How to catch Runtime errors and Log them on a ASP.NET project? Pin
Reelix2-Apr-08 21:36
Reelix2-Apr-08 21:36 
GeneralRe: How to catch Runtime errors and Log them on a ASP.NET project? Pin
Sandeep Akhare2-Apr-08 21:41
Sandeep Akhare2-Apr-08 21:41 
GeneralRe: How to catch Runtime errors and Log them on a ASP.NET project? Pin
Reelix2-Apr-08 21:47
Reelix2-Apr-08 21:47 
AnswerRe: How to catch Runtime errors and Log them on a ASP.NET project? Pin
N a v a n e e t h2-Apr-08 22:37
N a v a n e e t h2-Apr-08 22:37 

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.