Menu item from database in ASP.Net



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 ..

.



Relevant Pages

  • Re: Converting Access 2000 back to 97
    ... Access 2000+, and recent versions of SQL Server, normally use ... and if any of your tables use nVarChar fields ... On the other hand, if this is a old database, using VarChar ... The sample code often demonstrates linking CurrentDB, ...
    (microsoft.public.access.conversion)
  • Re: Registering programs in access
    ... It worked fine for me with no changes to the sample code. ... 'Create text string containing "Database to Call". ... >> (no private e-mails, please) ...
    (microsoft.public.access.conversion)
  • Re: Create Site: The specified domain either does not exist or could not be contacted.
    ... I specified email server settings again which succeeded. ... if I use the complete sample code for extending a vs: ... Database 'sts_content' already exists. ... After you create a new configuration database, ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: updating front end
    ... perhaps ReconnectTables() returns false - try to check this ... >i have gotten a sample code from ... > doesn't match then it will automatically updates the fe database on each ... > tblversionclient and tblversionserver does exist but the msbox pop ups. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Link to a new table location
    ... There's sample code at "The Access Web" in ... as it's only set up to handle all tables being in the same database. ... "Beth" wrote in message ...
    (microsoft.public.access.tablesdbdesign)