Repeater control in asp.net example c#

Repeater control example in asp net asp c#
Repeater control in asp.net

Repeater control in C#

asp.net repeater code

        <asp:Repeater ID="RepeaterId" runat="server" >
            <ItemTemplate>
                <tr>
                    <td>                    
                       <asp:Label ID="lblsubscriptionType" runat="server"                              Text='<%# Bind("subscriptionType") %>'></asp:Label>    
                    </td>
                    <td>
                         <asp:Label ID="lblsubscriptionName" runat="server" Text='<%# Bind("subscriptionName") %>'></asp:Label>
                    </td            
                </tr>
            </ItemTemplate>
        </asp:Repeater>



c# repeater code


                
RepeaterId.DataSource =SubscriptionList;
RepeaterId.DataBind();



ANIL SINGH

Anil Singh is an author, tech blogger, and software programmer. Book writing, tech blogging is something do extra and Anil love doing it. For more detail, kindly refer to this link..

My Tech Blog - https://www.code-sample.com/
My Books - Book 1 and Book 2

www.code-sample.com/. Powered by Blogger.
^