Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
515
xamgrid ubound new record
posted

Hi, I have a grid with a column unbound. When I add a new , how do I value to this column from vb code?

Thank you

e.Cell.Row.Cells("DesZona").Content   is incorrect ?

Private Sub dgNeg_CellExitedEditMode(ByVal sender As Object, ByVal e As Infragistics.Controls.Grids.CellExitedEditingEventArgs) Handles dgNeg.CellExitedEditMode
    If e.Cell.Column.Key = "CodZona" Then
 For i As Integer = 0 To snaZone.Count - 1
     If snaZone(i).Codice = e.Cell.Value Then
  e.Cell.Row.Cells("DesZona").Content = snaZone(i).Descrizione
  Exit For
     End If
        Next
    End If
End Sub