protected void Page_Load(object sender, EventArgs e) { ServiceReference2.WebService1SoapClient nn = new ServiceReference2.WebService1SoapClient(); this.GridView1.DataSource = nn.ListaPedidosParaConferencia(); this.GridView1.DataBind(); foreach (GridViewRow row in GridView1.Rows) { if (row.Cells[10].Text == "SIM") { row.Cells[10].BackColor = ColorTranslator.FromHtml("#D2691E"); } } }