• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

lcasey
#1 Posted : Friday, April 27, 2007 3:58:33 PM(UTC)
lcasey

Rank: Member

Joined: 4/22/2004(UTC)
Posts: 280

Is there an easy way to display the Manufacturer on product.aspx?



Thanks,

Linette
Nick Alberti
#2 Posted : Friday, April 27, 2007 4:07:24 PM(UTC)
Nick Alberti

Rank: Member

Joined: 9/27/2004(UTC)
Posts: 1,099

Hey Linette.

In Product.aspx, add an ASP.NET Label to the page.

Next, assign the text property for the label to the Manufacturer's display name.

In Product.aspx.vb, locate PopulateProductInfo.

Code:

Dim m As Contacts.Manufacturer = Contacts.Manufacturer.FindByBvin(LocalProduct.ManufacturerId)

Me.MYLABEL.Text = m.DisplayName
Nick Alberti
#3 Posted : Friday, April 27, 2007 4:10:08 PM(UTC)
Nick Alberti

Rank: Member

Joined: 9/27/2004(UTC)
Posts: 1,099

Or you can use the literal control :smilewinkgrin:
lcasey
#4 Posted : Friday, April 27, 2007 4:10:36 PM(UTC)
lcasey

Rank: Member

Joined: 4/22/2004(UTC)
Posts: 280

:-) Thank you very much, Nick!



Linette
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012