For i = 0 To NewProgram.ItemArray.Length - 1
If Not IsDBNull(CurrentProgram.ItemArray(i)) Then NewProgram.ItemArray.SetValue(CurrentProgram.ItemArray(i), i)
Why does this NOT update the newprogram.ItemArray values?
The newprogram and current program are both strong typed datarows. They have over 75 Fields, and it would be soooooo much nicer to copy using the correct method. Cheers.
PS I have stepped in the debugger and I have definately confirmed that when the value is not null, it does not copy (ie executes the line after the then) and each item in teh newprogram.itemarray is null.