Hi everyone i have that column in ultragrid 1 so i place that code in initialize row event
Private Sub UltraGrid1_InitializeRow(sender As Object, e As Infragistics.Win.UltraWinGrid.InitializeRowEventArgs) Handles UltraGrid1.InitializeRow
If Not IsDBNull(e.Row.Cells("ACTIVE").Value) Then
If (e.Row.Cells("ACTIVE").Value = "Y") Then
e.Row.Cells("ACTIVE").Value = "YES"
End If
End If
End Sub
Private Sub UltraGrid1_InitializeRow(sender As Object, e As Infragistics.Win.UltraWinGrid.InitializeRowEventArgs) Handles UltraGrid1.InitializeRow
If Not IsDBNull(e.Row.Cells("ACTIVE").Value) Then
If (e.Row.Cells("ACTIVE").Value = "Y") Then
e.Row.Cells("ACTIVE").Value = "YES"
End If
End If
End Sub
No comments:
Post a Comment