Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionFormatString = (dtgPaiements.CurrentRow.Cells(1).Value).ToString If (FormatString.TrimEnd().Length 0) Then dtgPaiements.CurrentRow.Cells(1).Value "" If dtgPaiements.CurrentRow.Cells(1).Value = "00:00:00" Then Check_Date = "" Else Check_Date = DateTime.Parse(dtgPaiements.CurrentRow.Cells(1).Value).ToShortDateString() End If
If dtgPaiements.CurrentRow.Cells(1) Is DBNull.Value Then MsgBox("Allo") Else Dim test As String test = dtgPaiements.CurrentRow.Cells(1).ToString MsgBox(test) 'Ici Test ne me donne rien de concluant End If