ASP.Net Programming Question: Download ASP.Net PDF

How can you provide an alternating color scheme in a Repeater control?

Tweet Share WhatsApp

Answer:

AlternatingItemTemplate Like the ItemTemplate element, but rendered for every other row (alternating items) in the Repeater control. You can specify a different appearance for the AlternatingItemTemplate element by setting its style properties.

Download ASP.Net PDF Read All 28 ASP.Net Questions
Previous QuestionNext Question
What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?Which template must you provide, in order to display data in a Repeater control?