开发者

Trying to make an image column sortable in our DataGridView - all that's displayed is System.Drawing.Bitmap instead of the image

Have tried following the advice in the MSDN article: How开发者_如何学Go 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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜