Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi,
I am creating a MLM website.Here i am having a database where a first member adds 5 new members and they will add a no. of members and it continues.If iam having a member id STF10001 i need to display the names and ID's of his/her intoducer and if they introduce anybody their name also have to be displayed.I don't know how to create it.Kindly help me with any ideas

XML
<asp:GridView ID="bussgrid" BorderColor="White" runat="server" AutoGenerateColumns="False" EmptyDataText="No data found!" ShowHeaderWhenEmpty="True"
                     Width="520px" Height="143px" >
                       <Columns>
                           <asp:BoundField DataField="Member_Name" HeaderText="Name"  HeaderStyle-Font-Names="verdana" HeaderStyle-Font-Size="10" HeaderStyle-ForeColor="Purple"
                               SortExpression="Member_Name" />
                           <asp:BoundField DataField="CombinedId" HeaderText="MemberID" ReadOnly="True"  HeaderStyle-Font-Names="verdana" HeaderStyle-Font-Size="10" HeaderStyle-ForeColor="Purple"
                               SortExpression="CombinedId" />
                           <asp:BoundField DataField="IntroducerID" HeaderText="IntroducerID"  HeaderStyle-Font-Names="verdana" HeaderStyle-Font-Size="10" HeaderStyle-ForeColor="Purple"
                               SortExpression="IntoducerID" />
                           <asp:BoundField DataField="Placement_Side" HeaderText="Position"  HeaderStyle-Font-Names="verdana" HeaderStyle-Font-Size="10" HeaderStyle-ForeColor="Purple"
                               SortExpression="Placement_Side" />
                                <asp:BoundField DataField="Introducer_Name" HeaderText="Introducer Name"  HeaderStyle-Font-Names="verdana" HeaderStyle-Font-Size="10" HeaderStyle-ForeColor="Purple"
                               SortExpression="Introducer_Name" />

                       </Columns>
                       </asp:GridView>
Posted

1 solution

If I answer to the Title of the question, then answer is as follows.

Refer
1. how to show a listview inside a gridview control's item template.[^]
2. Grid View Inside List View[^]
 
Share this answer
 

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