Dynamic MENU ITEM in ASP.Net

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top