i am using a database table to store the content for the webpages in varchar, varbinary etc. How do i use the menu control to display the content dynamically from the content table instead of a url?

I am trying to build an asp.net site but the content is saved in a table for each page. I need the menu control to retrieve the page from the table and display it in default.aspx.

What's the best way to go about doing it?
Dee_KaurAsked:
Who is Participating?
 
RouchieConnect With a Mentor Commented:
No this feature was introduced in ASP.NET 4.  It would be a good time to switch over to 4 if you can.  Otherwise you'll have to use my earlier suggestion which isn't quite as URL friendly.
0
 
RouchieCommented:
I assume you are referring to a database table?  If so, you need an identifier in your URL, so, it might be something like:

mysite.com?pageToLoad=1234

or

mysite.com?pageToLoad=pageTitle

However, ASP.NET 4 supports a new search engine friendly way to do the same, so that

mysite.com/page/pageTitle

works.  This is detailed here:  http://weblogs.asp.net/scottgu/archive/2009/10/13/url-routing-with-asp-net-4-web-forms-vs-2010-and-net-4-0-series.aspx
and here
http://midnightprogrammer.net/post/URL-Routing-With-ASPNET-4-Web-Forms.aspx
0
 
Dee_KaurAuthor Commented:
I am using asp.net 3.5. will it work?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.