D
Digit24
Wondering if you can help.
I have a page that pulls a list of products from a database. These products
come in various formats which the data is sorted by, so I have a dataset
that contains 10 products, ordered by format.
I am using a repeater to display the products, but what I want to do is
display a header when the format is different to the previous product.
In classic ASP, I would simply do a check to see if the product formatis
different to the previous product and if so, add a table row with the header
in it.
How do I do this using a repeater control?
I have a page that pulls a list of products from a database. These products
come in various formats which the data is sorted by, so I have a dataset
that contains 10 products, ordered by format.
I am using a repeater to display the products, but what I want to do is
display a header when the format is different to the previous product.
In classic ASP, I would simply do a check to see if the product formatis
different to the previous product and if so, add a table row with the header
in it.
How do I do this using a repeater control?