Reputation: 16003
Have tried following the advice in the MSDN article: How to: Customize Data Formatting in the Windows Forms DataGridView Control but when the form is shown all that's displayed in each cell is System.Drawing.Bitmap
.
Must be something basic we're doing wrong.
Upvotes: 1
Views: 425
Reputation: 16003
Resolved - nothing wrong with the cell formatting code in the MSDN article. But in our version our column was of type DataGridViewTextBoxColumn
when of course what's needed is a DataGridViewImageColumn
.
Upvotes: 1