Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
jhermiz
3564 Posts |
Posted - 2006-02-28 : 11:04:31
|
I need to display a product image along with (many side) points about that product in some sort of control. So I was wondering should I use a repeater for this?Basically imagine these three tables:Product (stores products that we sell)-------ProductIDPossible values: Engines, Transmissions, etc.ProductImage (stores jsut the path of an image for a product)-------ProductID ImageIDThere is simply one image per product (one to one relationship)Finally, ProductFunction---------------ProductIDFunctionIDPossible values could be (one to many side, one product can have multiple functions associated with it).Engine: -engine block -cylinder head -piston/conrod -intake and exhaust manifold Transmission -blah 1 -blah 2 -etc..Etc (products...)So basically I want to show something to the effect of the image itself of the product, and right next to the image all the functions of htat product (maybe a list format).I thought of using a repeater, but wanted to get some advice on it first.Thanks,Jon Keeping the web experience alive -- [url]http://www.web-impulse.com[/url]RS Blog -- [url]http://weblogs.sqlteam.com/jhermiz[/url] |
|
karuna
Aged Yak Warrior
582 Posts |
Posted - 2006-02-28 : 12:03:41
|
Jon,Thinking of Sequential or Columnwise?Sequential - Repeater, Columnwise - Datalist - I guess both might need bit of extra work to achieve what you want Or If I feel I have time to do bit of R&D, I might go with dynamic tables also, sometimes that gives me more controlMaybe somebody might give a better adviceThanksKarunakaran |
 |
|
jhermiz
3564 Posts |
Posted - 2006-02-28 : 12:08:30
|
quote: Originally posted by karuna Jon,Thinking of Sequential or Columnwise?Sequential - Repeater, Columnwise - Datalist - I guess both might need bit of extra work to achieve what you want Or If I feel I have time to do bit of R&D, I might go with dynamic tables also, sometimes that gives me more controlMaybe somebody might give a better adviceThanksKarunakaran
I ended up using a combination of a datalist and a datarepeater, so far so good.Jon Keeping the web experience alive -- [url]http://www.web-impulse.com[/url]RS Blog -- [url]http://weblogs.sqlteam.com/jhermiz[/url] |
 |
|
karuna
Aged Yak Warrior
582 Posts |
Posted - 2006-02-28 : 12:52:50
|
quote: Originally posted by jhermizI ended up using a combination of a datalist and a datarepeater, so far so good.Jon Keeping the web experience alive -- [url]http://www.web-impulse.com[/url]RS Blog -- [url]http://weblogs.sqlteam.com/jhermiz[/url]
Combination of Datalist and Repeater? Sounds Cool...I havent tried that combination so far..Keep posted on how it goes...ThanksKarunakaran |
 |
|
DustinMichaels
Constraint Violating Yak Guru
464 Posts |
Posted - 2006-02-28 : 13:19:30
|
Instead of using a Repeater and a DataList trying using two Repeaters. You can nest them if you have to.Dustin Michaels |
 |
|
|
|
|
|
|