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
615
AfterCellUpdate: Updating an additional Cell in the UltraGrid
posted

Hi All:

     How can I update a second column based on the value of the current cell in the AfterCellUpdate event of the UltraGrid?

     Here's my code:

        If e.Cell.Column.Key = "ZipCode" Then
            FoundZipRow = dtZips.Rows.Find(e.Cell.Text)
            If FoundZipRow IsNot Nothing Then
                'Set the State column to FoundZipRow("State")
            Else
                'Set the State Column to DBNull.value
            End If
        End If

Parents
No Data
Reply Children