本文介绍了如何在Listview内生成Gridview和反之亦然的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我正在创建一个MLM网站。这里我有一个数据库,第一个成员添加了5个新成员,他们将添加一个no。如果我有成员ID STF10001,我需要显示他/她的intoducer的名称和ID,如果他们介绍任何人,他们的名字也必须显示。我不知道如何创建它.Kindly帮助我任何想法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<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>推荐答案 这篇关于如何在Listview内生成Gridview和反之亦然的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 06-29 03:01