I would like to Loop through a data set to create web service items.
Below is an example of how I hard code items to be sent to the web service.
I have a data set created from an SQL query, how can II loop through that data set and take the value of the first column in every data row and set that to the PERNR for a new item?
'Dim item(1) As TestWS.DataItem
'item(0) = New TestWS.DataItem
'item(0).PERNR = "00012191"
'item(1) = New TestWS.DataItem
'item(1).PERNR = "00011382"
'Dim ws As New TestWS.DataService
'ws.Credentials = New Net.NetworkCredential("UserName", "Password")