19-09-19, 12:16 AM
هذا هو الحل والشكر لكل من شارك في الاجابة
If DT.Rows(I)(8).ToString <> Nothing Then
DGV.Rows(I).Cells(8).Value = Convert.ToDateTime(DT.Rows(I)(8).ToString()).ToShortDateString()
Else
DGV.Rows(I).Cells(8).Value = DGV.Rows(I).Cells(8).Value
End If
If DT.Rows(I)(8).ToString <> Nothing Then
DGV.Rows(I).Cells(8).Value = Convert.ToDateTime(DT.Rows(I)(8).ToString()).ToShortDateString()
Else
DGV.Rows(I).Cells(8).Value = DGV.Rows(I).Cells(8).Value
End If

