Click here to Skip to main content
15,903,030 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerExplain ur Question Pin
wEb GuRu...18-Sep-06 7:39
wEb GuRu...18-Sep-06 7:39 
GeneralRe: Explain ur Question Pin
amaneet18-Sep-06 7:58
amaneet18-Sep-06 7:58 
GeneralRe: Explain ur Question Pin
Christian Graus18-Sep-06 18:11
protectorChristian Graus18-Sep-06 18:11 
AnswerRe: View state Pin
deepaks318-Sep-06 9:36
deepaks318-Sep-06 9:36 
AnswerRe: View state Pin
_AK_18-Sep-06 18:28
_AK_18-Sep-06 18:28 
Question2.0 Questions Pin
cisco210318-Sep-06 5:47
cisco210318-Sep-06 5:47 
AnswerRe: 2.0 Questions Pin
minhpc_bk18-Sep-06 15:22
minhpc_bk18-Sep-06 15:22 
QuestionHiearchial representation in Grid Pin
Balji18-Sep-06 5:42
Balji18-Sep-06 5:42 
Hello guys,
I have a particular scenario to display hierarchial information in grid. Consider the following table structure and the sample data.

Table structure
----------------

ObjectId - Primarykey
Parentid 
description

Sample data

objectid   parentid     description
--------   --------     -----------

  1          null       Parent 1
  2           1         child for p1
  3           1         child for p1
  4          null       Parent 2
  5           4         child for p4
  6           5         child for c5
  7           6         child for c6


So, from the above data, objects 1 and 4 have parentid as null. So, they are the base parent objects to be displayed in the grid. Objects 2,3 are child for parent object 1. So object 2 and 3 should be nested within object 2. Similarly object 5 should be nested within parent object 4. Object 6 has the parentid as 5. So it should be nested within the child object 5. Also object 7 should be within object 6. So the nesting can be n levels and all this nesting should be visible inside the grid. The grid row holding the parent object should have a + sign and on click of that + sign, the immediate child objects should be visible, using javascript.


The grid should appear like this

  objectid    description
+  1          parent 1

     objectid   description
     2          child for p1
     3          child for p1

+  4          parent 2     
  
   + objectid   description
     5          child for p4
       
      + objectid    description
        6           child for c5
    
         + objectid     description
           7            child for c6



Please provide a solution. I am working with asp.net 2005,c# and oracle 10g.

Please help me ... its very urgent...

AnswerRe: Hiearchial representation in Grid Pin
Vicky Roberts18-Sep-06 22:59
Vicky Roberts18-Sep-06 22:59 
GeneralAsp.net code using vb Pin
GeethaNatarajan18-Sep-06 5:12
GeethaNatarajan18-Sep-06 5:12 
AnswerRe: Asp.net code using vb [modified] Pin
amaneet18-Sep-06 5:22
amaneet18-Sep-06 5:22 
AnswerRe: Asp.net code using vb Pin
Guffa18-Sep-06 6:12
Guffa18-Sep-06 6:12 
QuestionHi Guys , i don't know how to deny an event Pin
Mohammed Amine18-Sep-06 4:50
Mohammed Amine18-Sep-06 4:50 
AnswerRe: Hi Guys , i don't know how to deny an event Pin
Not Active18-Sep-06 5:13
mentorNot Active18-Sep-06 5:13 
AnswerRe: Hi Guys , i don't know how to deny an event Pin
deepaks318-Sep-06 9:38
deepaks318-Sep-06 9:38 
Questioni'm wondering how many connections i have to use ? [modified] Pin
Mohammed Amine18-Sep-06 4:31
Mohammed Amine18-Sep-06 4:31 
AnswerRe: i'm wondering how many connections i have to use ? Pin
Not Active18-Sep-06 5:11
mentorNot Active18-Sep-06 5:11 
AnswerRe: i'm wondering how many connections i have to use ? Pin
Guffa18-Sep-06 6:22
Guffa18-Sep-06 6:22 
GeneralRe: i'm wondering how many connections i have to use ? Pin
Mohammed Amine18-Sep-06 7:32
Mohammed Amine18-Sep-06 7:32 
AnswerRe: i'm wondering how many connections i have to use ? Pin
Guffa18-Sep-06 8:50
Guffa18-Sep-06 8:50 
AnswerRe: i'm wondering how many connections i have to use ? Pin
deepaks318-Sep-06 9:44
deepaks318-Sep-06 9:44 
QuestionControlling User Controls Pin
Dayekh18-Sep-06 3:57
Dayekh18-Sep-06 3:57 
AnswerRe: Controlling User Controls [modified] Pin
sundar15620-Sep-06 10:30
sundar15620-Sep-06 10:30 
QuestionRunning ASP.NET 2.0 project from localhost.... Pin
Kasic Slobodan18-Sep-06 3:29
Kasic Slobodan18-Sep-06 3:29 
AnswerRe: Running ASP.NET 2.0 project from localhost.... Pin
minhpc_bk18-Sep-06 15:30
minhpc_bk18-Sep-06 15:30 

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.