Wrox Programmer Forums
|
BOOK: Professional ASP.NET 1.0, Special Edition/1.1
This is the forum to discuss the Wrox book Professional ASP.NET 1.1 by Alex Homer, Dave Sussman, Rob Howard, Brian Francis, Karli Watson, Richard Anderson; ISBN: 9780764558900
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 1.0, Special Edition/1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 1st, 2004, 12:05 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default IBuyAdventure Ch-23

Hi Friends

I need help. In the shopping cart project (IBuyAdventure), we use datalist and in that we use itemtemplate hyerlink and relate its navigate URL to a page + the text so that in browser it looks like this:

http://p2p.wrox.com/post.asp?FORUM_ID=116

here say FORUM_ID is the text of hyperlink i.e
text '<%#Container.DataItem("FORUM_ID")%>' and in the navigate URL we add this to get the text displayed in the browser.

Now the question is, how do I display the products ID related to this number, eg if I have to display the list of topics where FORUM_ID=116 in a new page, how can I do that.

Please explain using VB.net as back end and not C#.

Thanks
Mike
__________________
Regards
Mike
 
Old October 4th, 2004, 09:35 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

<asp:Hyperlink id="id" runat="server" NavigateUrl='link.aspx?FORUM_ID=<%#Databinder.Eval (Container.DataItem, "FORUM_ID")%>' Text='<%#Databinder.Eval(Container.DataItem, "FORUM_ID")%>' />

Brian





Similar Threads
Thread Thread Starter Forum Replies Last Post
IBuyAdventure Problem shivendra012 ASP.NET 1.x and 2.0 Application Design 0 September 30th, 2006 06:38 AM
IBuyAdventure URL? bachakhan General .NET 2 December 18th, 2004 10:03 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.