Showing posts with label Alternate Row Color in Repeater. Show all posts
Showing posts with label Alternate Row Color in Repeater. Show all posts

Thursday, June 9, 2016

Alternate Row Color in Repeater in Asp.net



In this article I will explain how to change alternate row color of Repeater on aspx page. There is no need to manage your own variable. this has the benefit of being completely based in your UI code.


 Code:   just paste my code in ItemTemplate and it should work.


<%# Container.ItemIndex % 2 == 0 ? "<div>" : "<div style='background-color: #000; padding:2px'>" %>

Kashmir 370 and 35A : The Wound of india

क्या है जम्मू-कश्मीर में लागू धारा 370,35A पूर्ण विवरण Know about 370 act in Jammu एक बार फिर से राजनीति गलियारे में धारा 370,35A को ल...