Answer: We have an in-built style property named
COLOR,which is used for changing Text Color to our choice.We can provide either #(hash) code for color or directly write color names i.e. blue,red,green and so on..
For Example:-
<asp:TextBox ID="TextBox1" runat="server" style="color:#00ff90;"></asp:TextBox>
<asp:TextBox ID="TextBox2" runat="server" style="color:blue;"></asp:TextBox>
Asked In: Many Interviews |
Alert Moderator