Hello,
I'm having a problem with a For....Next Loop and I don't know how to get round it.
Basically I fill a Dataset (m_TDS) with rows of data, and I want to loop through this.
My code is :
However I get the blue line under the stuff in the brackets, and a message saying : "value of type 'system.data.datarowcollection' cannot be converted to 'system.array'"Code:Dim i As Integer = 0 For i = 0 To UBound(m_TDS.Tables(0).Rows) blah, blah, blah Next i
Does anyone know how I can get this to work please ?
I appreciate any help anyone can offer.
Thank you.




Reply With Quote