c# - Paint datagrid row in color in WinCE -


How can I paint all rows in a datagread with the value of the field "age" in "rows" = 30 ?

I work in WinCE.

Thanks for any help!

Try something like I set

Datagrid1.Datasource = Datatable1.DefaultView

Where Datatable1 is a statistic that has a column called "Age"

Sorry, it is in VB

Private Sub Paint Coilers ()

  Dial ViiIT Int 6 DataGrid1 Selectback Color = Color Intranet Dim Vi as Int64 = 0 for Vi = 0 to datelat 1 default view. Calculation - 1 If Datable 1 Default view. Item (Vi) ("Age") = 30 Then Datagreat 1 Select (Vi) Other Data Grid 1. Unaccept (VI) End if Next  

End Sub


Comments