GabrielaWattigny
New Member
Basically I have a news page which stores headlines, stories, and a unique story identifier in a SQL database. I want to be able to create a hyperlink on a webpage to the pictures.so when someone selects a news story from a drop down menu (which uses the headline) and presses submit I want to pass the storyID, which is a unique identifier, to a spot in a hyperlink. so if it was story 134 then then link would look like:I know the SQL statement would look like:SELECT StoryID from db.NewsWhere Headline = {The headline selected in the dropdown menu}the dropdown menu is called NewsDropthis would be an ASPX page written with a VB code baseSO I guess I need help passing the variables along to the search string and the hyperlink. Not even sure if this is even possible.