|
-
Jun 20th, 2003, 06:13 AM
#1
Thread Starter
Addicted Member
web display ? repeater control
I have a web site using an Access 2002 database that has a number of lines of text details as well as a link to a thumbnail photo image for each item for sale. is the repeater control the best way to go. I'm not an expert in HTML but I have access to somone who can help me in this area. Does anybody know if the other databound contorls can display these thumbnails in a grid and still have it looking good.
If any body has any suggestions I would appreciate it - or if you have any links to any other help resources i would appreciate these links
thanks
BH
-
Jun 20th, 2003, 08:38 AM
#2
Addicted Member
Data Repeater is fine for that and the end of the day all it does is churn out html so it will display your images ok. I just use a Datareader and add html to a stringbuilder which I then add to the text of a label. U can see this is done @ http://www.helenmortimer.me.uk/years.aspx?yr=1999
Wind and waves resolves all problems.
-
Jun 20th, 2003, 11:54 AM
#3
PowerPoster
Originally posted by cim3
Data Repeater is fine for that and the end of the day all it does is churn out html so it will display your images ok. I just use a Datareader and add html to a stringbuilder which I then add to the text of a label. U can see this is done @ http://www.helenmortimer.me.uk/years.aspx?yr=1999
That way works, but when you want to adjust the format of the site, you will end up having to edit the code and recompile the application.
By using the data controls (data repeater, data grid, etc), you are able to use template columns to do what you need, and if you want to adjust the layout of the site, you only have to edit the html of the page. All your code goes untouched which means you won't introduce new bugs and have to retest it.
I say go with what works for you, but remember that what you do has benefits and negatives you have to weigh.
Last edited by hellswraith; Jun 21st, 2003 at 01:02 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|