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
110
Problems with Saving New Rows
posted

I am using UltraWebGrid.  I am allowing Add, Update and Delete (of New Rows) on the Grid.  These all work fine.
I am saving the Added Rows on a submit.  See Code below.  Periodically, when I go to iterate through these recently added rows (For Each row in Me.UGBilling.Rows). . Rows.Count=0.  This doesn't happen all the time.  The update and delete work fine.  Could I be missing a setting?

Example:

Dim row As UltraGridRow

For Each row In Me.UGBilling.Rows
    
Select Case row.DataChanged
         
Case DataChanged.Added
               'Add Row to Database
          Case DataChanged.Modified
               'Update Row to Database

          Case DataChanged.Deleted
              
'Delete Row from Database

     End Select

Next

Thanks,

Leah