We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How do I get a image in a data bound grid

Thread ID:





12124 Mar 22,2004 02:30 PM Apr 7,2004 08:02 AM Windows Forms 2
Tags: GridControl
Brenda Maloff
Asked On March 22, 2004 02:30 PM

How do I get a image in a data bound grid. I have a database column that has an inage index in it and I have a imagelist with a couple of images in it. How do I get the data bound grid to display the image instead of the text.

Administrator [Syncfusion]
Replied On March 22, 2004 05:42 PM

In 2030, there is a "Image" celltype that you can use to do this. In 2030, there is a bug that requires you to do part of the work in PrepareViewStyleInfo. Here is a sample showing how you might do it. forumImage_1936.zip

Brenda Maloff
Replied On April 7, 2004 08:02 AM

Works like a charm. Thanks.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.