Results 1 to 3 of 3

Thread: web display ? repeater control

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2002
    Location
    Brisbane Australia
    Posts
    150

    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

  2. #2
    Addicted Member
    Join Date
    Mar 2001
    Location
    Devon, UK
    Posts
    181
    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.

  3. #3
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    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
  •  



Click Here to Expand Forum to Full Width