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


Thread ID:





24724 Feb 9,2005 06:42 PM UTC Feb 9,2005 07:24 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On February 9, 2005 06:42 PM UTC

experimenting with GridListControl binded to a DataSet.. how do i display a bitmap ? I can see ImageList and ImageColumn property but how does it work... Would appreciate if you can redirect to me a sample app using GridListControl .. --Yogi

Administrator [Syncfusion]
Replied On February 9, 2005 07:24 PM UTC

The DataTable in your DataSet needs to have a ImageIndex column (exact this name, same case). The ImageIndex then gives an index in the ImageList you assign to GridListControl, e.g. ImageList imageList = new ImageList(); imageList.Images.Add(SystemIcons.Warning.ToBitmap()); ... ListBox1.ImageList = imageList; Stefan


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