You need to use a delagate function for this. This FAQ declares a delegate named delegateGetIconIndexForRow and passes it to the contructor of a class. You can see VB code there.
George Shepherd's Windows Forms FAQ contains an entry entitled:
How can I have a column of icons in my datagrid?
Check it out at: