For Each dtRowa As DataRow In dt.Rows
For Each dtRow As DataRow In SQLDataTable.Rows
If dtRow("ID") = dtRowa("ID") Then
Sql = "UPDATE AlphaTbl SET LASTNAME ='" + dtRowa("LASTNAME") + "', FIRSTNAME= '" +
dtRowa("FIRSTNAME") + "' WHERE ID= '" + dtRowa("ID") + "' "
Dim cmd As New SQLiteCommand(Sql, _SQLiteCon)
cmd.ExecuteNonQuery()
End If
Next
Next
请寻求帮助,以解决此问题