12-02-16, 04:03 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