i trying to create menu with sub menu using repeater and entity data model in asp.net (vb)
page_appear: means display in menu or not
<asp:Repeater ID="menuRepeater" runat="server" DataSourceID="EntityDataSource2">
<headertemplate>
<div class="menu"><ul>
</headertemplate>
<itemtemplate>
<li>
<a href='#'><%# Eval("page_name")%></a>
<asp:literal ID="ltrlSubMenu"
runat="server"></asp:literal>
</li>
</itemtemplate>
<footertemplate>
</ul></div>
</footertemplate>
</asp:Repeater>
`<asp:EntityDataSource ID="EntityDataSource2" runat="server" ConnectionString="name=AGIP_dbEntities" DefaultContainerName="AGIP_dbEntities" EnableFlattening="False" EntitySetName="tbl_pages" Select="it.page_name,it.page_parentID,it.page_active,it.page_appear" Where="it.page_parentID=0 and it.page_appear=TRUE and it.page_active=TRUE"`>
i don't have any idea how to create that
can anyonehelp me ?
thanks in advance

For Menu's it is usually a repeater inside repeater. Parent repeater for the main menu and the child repeater for the submenu.
In the ItemDataBound event of the Parent repeater, we bind the Child repeater based on the value of the MainMenu item(that we get from
e As RepeaterItemEventArgs).Please refer to the below link:
https://www.aspsnippets.com/Articles/Implement-Nested-Repeater-Repeater-inside-Repeater-with-example-in-ASPNet-using-C-and-VBNet.aspx