如何改变琴弦颜色
问题描述:
hi
我是斯里尼瓦斯.我正在将字符串值存储到会话中.
如何更改字符串值的颜色
hi
i am srinivas. i am storing string value into session.
how can i change color in string value
string createuser = Convert.ToString(Session["createuser"]);
我要
Createuser-会话值";
我想要会话值红色
请帮助我
i want
Createuser - "Session value";
i want session value red color
please help me
答
您似乎很困惑.字符串只是一个字符数组,更明确地说是一个内存地址,它不存储有关颜色,字体等的任何信息.无论在何处呈现字符串,网页,Windows窗体,打印的文档等都是其中的颜色指定.
You seem very confused. A string is simply an array of characters, more pointedly a memory address, it does not store any information about color, fonts, etc. Wherever the string is rendered, a web page, Windows form, printed document, etc is where the color is specified.