how to change your color putting your require color:
ASPX Code:
Put ur rwqured color:<asp:TextBox id="tbx" runat="server">
<asp:button id="btn" runat="server">
ASPX.CS Code:
using.system.Drawing;
{
string clr=tbx.Text;
btn.backcolor=color.FromName(clr);
}
No comments:
Post a Comment