Home Forums WinForms controls Xceed Grid for WinForms Clearing the grid Reply To: Clearing the grid

User (Old forums)
Post count: 23064

and to clear out my datarows.. I used similar methodology..

For iCTR2 = 0 To gcOuting.DataRows.Count – 1

notice, I am always using the first element in the datarows.item(0). I am not incrementing it with iCTR2 or what you were using ‘i’.. Just allow the loop to always remove the first datarow object by keeping it ‘Datarows.item(0)’

Imported from legacy forums. Posted by Doc Ozzie (had 480 views)