The Tech Pursuit
The Dev Shelf
Pages
Home
Interview Questions
About Me
January 21, 2011
How to change text box background color in ASP.Net
if(txtCColor.Text == "Change")
txtCColor.Style.Add(HtmlTextWriterStyle.BackgroundColor,"Aqua");
else
txtCColor.Style.Add(HtmlTextWriterStyle.BackgroundColor, "White");
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment