Link to home
Start Free TrialLog in
Avatar of payal1711
payal1711

asked on

Nested Repeaters

Hi,

       I want to show a series of images in two dimensions. For that I want to use nested Repeaters, but with the SAME DATASOURCE. Also I want to show 4 images in a row and then it should wrap up to the second row and after 5 such rows, on to the next page.

       I Googled about this. I came across some example of nested repeaters but they had Different Datasources for both repeaters. They were bound with a primary key from one table as foreign key in another table. But I want SAME DATASOURCE in both repeaters...The page will look like something below with images in empty squares.

                |         |      |
       -------|-------|-----|-----
                |        |       |
       -------|-------|-----|-----
                |        |       |
       -------|-------|-----|-----
                |        |       |
 
      Is there a way of doing this? Has anybody dome something like this or know some pointer where I can look?

     Thanks,
    -Payal
ASKER CERTIFIED SOLUTION
Avatar of gbelken99
gbelken99

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of payal1711
payal1711

ASKER


   Yes, I will be getting data from the database. How can I create the paging functionality with SQL, can you give an example?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial

  Of course I understood..you made it so easy...I also found a link you would like to see. It is about adding paging to DataList Control. I dont know if it works, but if it doesnt, I can always use the sql method you just specified..

    http://www.dotnetbips.com/displayarticle.aspx?id=115

     Thanks a lot for your prompt help.
   -Payal