Advertisement
Advertisement
| 07.14.2008 at 02:09AM PDT, ID: 23561999 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: |
If e.Row.RowType = DataControlRowType.DataRow Then
'Current GridView row ID
'Dim test2 As String = gvwPrerequisiteCourses.SelectedDataKey.Value
Dim gridViewClassID As Integer = Convert.ToInt32(e.Row.Cells(0).Text)
For Each row As DataRow In dtUsersCompletedCourses.Rows
If row("courseID") = gridViewClassID Then
e.Row.BackColor = Drawing.Color.Green
Else
e.Row.BackColor = Drawing.Color.Red
End If
Next
End If
|