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

GridListControl

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

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon