Boa tarde.
Tenho uma ListView em C# WEB, nesta ListView tem uma célula <TD> que contém uma Label.
Seguinte: eu leio está Label, se for igual a "finalizado", tenho que pintar esta CÉLULA de vermelho.
Como que eu poderia fazer isso?
Minha última tentativa foi esta:
" HtmlTableCell cell = new HtmlTableCell("tdStatus");
string myColor = "#F2F2F2";
cell.BgColor = System.Drawing.ColorTranslator.FromHtml(myColor).ToString(); "
Efim, nada.
Podem me ajudar?