I want to change a sub string forecolor in my gridview.
I tried something like this:
TaskGridView.Rows[i]
.Cells[j + 2]
.Text.Substring(firstInd, length)
.ForeColor =System.Drawing.Color.DarkSalmon;
but there is no ForeColor attributes at String Class
How can I do this?
You will have to add the html to your string yourself, via a
spanand astyletageg: