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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
RouchieCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.