Dynamic MENU ITEM in ASP.Net

  • Thread starter Thread starter jayender.vs
  • Start date Start date
J

jayender.vs

Hi,

I am doing a menu in asp.net here is the sample code for that:

<asp:Menu ID="Menu1" runat="server" Orientation="Horizontal" >

<Items>

<asp:MenuItem Text="<%=m_Menu[0]%>" Value="New Item"></asp:MenuItem>

<asp:MenuItem Text="New Item" Value="New Item"></asp:MenuItem>

<asp:MenuItem Text="New Item" Value="New Item"></asp:MenuItem>

<asp:MenuItem Text="New Item" Value="New Item"></asp:MenuItem>

</Items>

</asp:Menu>

Now the m_Menu[0] is the string array which has the string
value taken from database., but am not able to display the string which

i got from database.


is there anyother way to do ? waiting for ur reply ..
thanks,
Jayender.
 
Back
Top