Tuesday, 7 January 2014

save yes and no in ultragrid in place y and n in ultragrid column

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

No comments:

Post a Comment