13-01-25, 12:33 PM
(آخر تعديل لهذه المشاركة : 13-01-25, 12:46 PM {2} بواسطة عبد العزيز البسكري.)
ممكن لا أعرف محتوى مشروعك
لكني لا أرى بالكود أمر الحفظ
كود :
.Parameters.AddWithValue("@received_date", SqlDbType.Date).Value = CDate(DataGridView2.Rows(i).Cells(5).Value)
.Parameters.AddWithValue("@delivery_date", SqlDbType.Date).Value = CDate(DataGridView2.Rows(i).Cells(6).Value)
End With
Next
If Con.State = 1 Then Con.Close()
Con.Open()
Cmd.ExecuteNonQuery()
Con.Close()
MsgBox("تم إضافة السجل بنجاح", MsgBoxStyle.Information, "حفظ")
Cmd = Nothingقناتنا على اليوتوب
