Answer: We have control's
BackColor in-built property which achieves the same functionality as background-color style property.
For Example:-
<asp:Button ID="btn_go" runat="server" Text="Click Me" BackColor="YellowGreen"/>
<asp:Label ID="lbl_name" runat="server" Text="Name" BackColor="YellowGreen"></asp:Label>
Asked In: Many Interviews |
Alert Moderator