Hello friends some times we need to apply the styles to the controls from database fields...so here is the tips to apply the styles to the controls...!
<asp:Label ID="Label2" runat="server" Text="Label"
BackColor='<%# System.Drawing.ColorTranslator.FromHtml(Eval("Color").ToString())%>' </asp:Label>
enjoy..!
0 comments:
Post a Comment