12-02-16, 11:48 AM
ربما اخي الكريم نسيت الفاصلة بين كل حقل وآخر
PHP كود :
For I As Integer = 0 To DataGridView1.Rows.Count - 1
cmd.Editdata(" UPDATE hagz2 SET mony ='" & DataGridView1.Rows(I).Cells(4).Value & "', datemony ='" & DataGridView1.Rows(I).Cells(5).Value & "', accept ='" & DataGridView1.Rows(I).Cells(6).Value & "', dateaccept ='" & DataGridView1.Rows(I).Cells(7).Value & "' WHERE outo ='" & DataGridView1.Rows(I).Cells(0).Value & "'")
Next

