Hi guys,

first of all i would ask all the engineers out there, i really really need this favour.

I am building an online shop (DVD's), i have with me the basic page "movies.aspx" which displays the movies in a table with a thumbnail and a small description . there is a MS SQL table for the "movie" with some text fields.

Along in the movies.aspx i have a "more details" hyperlink/button adjacent to each and every movie , there is another table called " more_details" which is linked using a foriegn key from the movies table to the more details table.
How do i dyanamically pass the values onto the more details page when the more details hyperlink is clicked..

currently i have hard coded the value,, which is not good

Thanks in advance

The easiest way to do this would be to add the foreign key value to the end of the aspx page. I.e. movies.aspx?id=blahdeblah.

You can then access the id using the QueryString class.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.