I\'m using an asp.net repeater to create a bunch of images. The image markup is all the same so the standard is fine.
However, I want
This should work for you, with no need for anything in the code behind (other than binding the repeater..):
<%# (Container.ItemIndex != 0 && Container.ItemIndex % 5 == 0) ? @"" : string.Empty %>