Click here to Skip to main content
15,915,336 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi ,

i m doing MLM based Appication, i need to show the Report For the Agents
For example:


if i am going to look the Team Level For Id=38
SQL
Tbl_advisor

SQL
id  agentId ParentId
1    38      37
2    56      38
3    57      38
4    58      38

5    60      56
6    61      56
7    62      57
8    63      58
9    65      58
10   66      58

11   67      60
12   68      61
13   69      61
14   70      62
15   71      63
16   73      63

....

this is ma report Format.
i have tried this by GridView ,But i couln't Get the Records Frequently.

can any one give me some reference to do this.

Thanks,
King_Fisher.
Posted
Updated 14-Feb-14 17:35pm
v2
Comments
Richard MacCutchan 14-Feb-14 12:02pm    
Where are your records held, and how do you identify members of team 38?
King Fisher 14-Feb-14 23:36pm    
in my advisor table ,i keep all advisor details in this Table

1 solution

 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900