When you want to create a custom item template in a repeater you have to readthis article. In this article the css-class and the html depends of the content of the data collection. So you want a different ItemTemplate for another row.
Maintainability in the age of coding agents
7 hours ago