问题描述
< asp:DataList ID =offerlistnewrunat =serverDataKeyField =OfferIDRepeatDirection =Vertical
OnItemDataBound =offerlistnew_ItemDataBound>
< itemstyle font-bold =Falsefont-italic =Falsefont-overline =False>
Font-Strikeout =False Font-Underline =FalseHorizontalAlign =Left
VerticalAlign =TopBackColor =#ECECEC/>
<asp:DataList ID="offerlistnew" runat="server" DataKeyField="OfferID" RepeatDirection="Vertical"
OnItemDataBound="offerlistnew_ItemDataBound" >
<itemstyle font-bold="False" font-italic="False" font-overline="False">
Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Left"
VerticalAlign="Top" BackColor="#ECECEC" />
这篇关于如何为datalist中的所有行设置相同的背景颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!