PDA

View Full Version : Calling content to a page


QBall777
03-26-2009, 04:42 PM
Hi

I have a table were the content for three pages is stored, Home, about and links pages.

The table has 3 x fields ContentID Title and Body

On my home page I want to display the text just for that page however I don't want to pass a query string through the URL.

Any ideas how to do this??

At the moment I'm calling the database to the page with an sqlDataSource but this is showing the content for all 3 pages.

Thanks

QBall777
03-26-2009, 05:44 PM
Simple, must start using my brain.

WHERE ContentID = 1