J
Jeremy
The example for updating an non-strong typed dataset in the resource kit
shows:
dsNorthwind.Tables("ProductsDS").Rows(lstResults.SelectedIndex)("ProductName
") = ProductName & " - Updated"
My code is something like this:
for each srcrow in myds.table(0)
.. do some stuff ..
myds.table(0).rows(rownumber)("fieldname") = 1 <== Question is here
next
I don't have a SelectedIndex to use as a row number. How do I address the
current row? Rows does not have an "itemindex", "currentrow", etc.
property. What do I do?
Jeremy
shows:
dsNorthwind.Tables("ProductsDS").Rows(lstResults.SelectedIndex)("ProductName
") = ProductName & " - Updated"
My code is something like this:
for each srcrow in myds.table(0)
.. do some stuff ..
myds.table(0).rows(rownumber)("fieldname") = 1 <== Question is here
next
I don't have a SelectedIndex to use as a row number. How do I address the
current row? Rows does not have an "itemindex", "currentrow", etc.
property. What do I do?
Jeremy