I have a detail view that is displaying information from a table called demos. I am currently displaying a hyperlink so that someone can click the link and go a page (intense, I know!)

I would like to make the hyperlink go to different pages based on the value of one of the fields in the details view. For instance, I have a field called "listenedto". if the value is "yes", I want the link to go to "yespage.aspx" and if the value is "no", go to "nopage.aspx".

I am just unsure of how to accomplish this inside of visual web developer express...

Did you ever figure it out? I have the same problem.

hi,
in template field take link button instead of hylerlink.raise the linkbutton_click write switch/if condition for navagation based on the other filds value.
hope this will work........

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.