' Selecting Highlighting rows in a ASP.NET DataGrid ' Starting with a populated DataGrid (named DataGrid) Dim intR As Integer Dim intRows As Integer = DataGrid.Items.Count - 1 Dim strCountry As String For intR = 0 To intRows strCountry = DataGrid.Items.Item(intR).Cells(colCustomers.Country).Text() lbox.Items.Add(strCountry) If Left(strCountry, 3) = "Mex" Then DataGrid.Items(intR).BackColor = Color.Red End If Next