SyntaxFix
Write A Post
Hire A Developer
Questions
string minusvalue = TextBox1.Text.ToString(); if (Convert.ToDouble(minusvalue) < 0) { // set color of text in TextBox1 to red color and bold. TextBox1.ForeColor = Color.Red; }