日期:2014-05-17  浏览次数:20415 次

怎么改变label的颜色啊
哥们用这个不行
  Label9.BackColor = Color.Red;
enable为true;大家给点意见啊

------解决方案--------------------
//方法一
this.Label9.ForeColor = System.Drawing.Color.Red;

//方法二
this.Label9.Style.Add(HtmlTextWriterStyle.Color, "red");

//方法三
this.Label9.Style.Add("color", "red");