How do i get my repeater results to appear line by line
问题 <p runat="server" id="pServices"> <asp:Repeater runat="server" ID="rptServices" OnItemDataBound="rptServices_OnItemDataBound"> <HeaderTemplate></HeaderTemplate> <ItemTemplate> <asp:Label runat="server" ID="lblService"></asp:Label> </ItemTemplate> <AlternatingItemTemplate> <asp:Label runat="server" ID="lblService"></asp:Label> </AlternatingItemTemplate> </asp:Repeater> </p> And in the code behind I have private void updatePageWithUserData(User UserProfile) { this.pProfile.InnerText =