0
我想要更改子字符串forecolor在我的gridview中。在asp.net中更改datagridview中的子字符串的forecolor
我想是這樣的:
TaskGridView.Rows[i]
.Cells[j + 2]
.Text.Substring(firstInd, length)
.ForeColor =System.Drawing.Color.DarkSalmon;
但沒有前景色爲String類
我怎樣才能做到這一點屬性?
在其中的HTML代碼的地方,我要補充這些代碼? – calypso
而不是你以前的那段代碼。 – podiluska
感謝它的工作。 – calypso