Esatto, come dice optime io ho bisogno dell'Update.
Io ora ho questo:
codice:
Sub Update(Tabella as String, parametri as String, where as String)
mystring = "exec procUpdate '" & tabella & "', '" & param & "', '" & where & "'" 'Questa è una storeProcedure che ho creato in precedenza
ApriConnessione()
SQLCmd.ExecuteNonQuery()
ChiudiConnessione()
End Sub
Private Sub aggiornaParametri(arrayNumeri() as Integer, nRiga as Integer)
For i as integer = 0 to 399
Update("TABELLA1", "CONTENUTO = " & arrayNumeri(i), "ID = " & i & " AND NUMERO_RIGA = " & nRiga)
Next
End Sub
Vorrei evitare di usare il ciclo for perchè ci metto un bel po' ovviamente.
Vorrei capire come mandare quell'array (o DataTable o quello che serve) come parametro nella riga corretta