Menu item from database in ASP.Net
- From: jayender.vs@xxxxxxxxx
- Date: 30 Mar 2006 23:45:56 -0800
Hi,
I am doing a menu in asp.net here is the sample code for that:
[code]
<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>
[/code]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 ..
.
- Follow-Ups:
- Re: Menu item from database in ASP.Net
- From: S. Justin Gengo
- Re: Menu item from database in ASP.Net
- Prev by Date: ConfigurationErrorsException, Event Code 3008, system.web/identity
- Next by Date: Retrieve "<!doctype>" info from code-behind
- Previous by thread: ConfigurationErrorsException, Event Code 3008, system.web/identity
- Next by thread: Re: Menu item from database in ASP.Net
- Index(es):
Relevant Pages
|