I want to programatically add a background image to individual cells in a datagridview for easy identification, prefirably in the right bottom corner of the cell.
This is my guess.
Private Sub dgv_CellFormatting(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellFormattingEventArgs) Handles dgvMacroVenceInv.CellFormatting
For i As Integer = 0 To Me.dgv.Rows.Count - 1
If Me.dgv.Rows(i).Cells("001").Value > 0 Then
'CODE FOR CELL BACKGROUND IMAGE
End If
Next
End Sub
Please help!!
Using Visual Studio 2005 with .Net 2.0.