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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How do I get a image in a data bound grid

Thread ID:





12124 Mar 22,2004 07:30 PM UTC Apr 7,2004 12:02 PM UTC WinForms 2
Tags: GridControl
Brenda Maloff
Asked On March 22, 2004 07:30 PM UTC

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 10:42 PM UTC

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 12:02 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon