21-08-18, 04:28 AM
تفضل الكود
PHP كود :
Private Sub DataGridView1_CellFormatting(sender As Object, e As DataGridViewCellFormattingEventArgs) Handles DataGridView1.CellFormatting
If e.ColumnIndex = Me.DataGridView1.Columns("Dépense").Index Then
If e.Value = 0 Then
e.Value = ""
End If
End If
End Sub
