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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

binding to custom collections

Thread ID:





5145 Jun 20,2003 05:50 PM UTC Jun 20,2003 06:05 PM UTC WinForms 1
Tags: GridControl
Tom Langer
Asked On June 20, 2003 05:50 PM UTC

I've made my own custom collection (vb.net - using Inherits System.Collections.CollectionBase), I'd like to bind the collection to the grid, is that possible? The documentation seemed to make me believe so, but I couldn't find any sample code, other than based on datasets.

Administrator [Syncfusion]
Replied On June 20, 2003 06:05 PM UTC

It should be no problem to assign your collection to GridDataBoundGrid.DataSource and the grid will then pick up the collection. One requirement is that in your derived collection class you need to have a strongly typed indexer/Item property. There are some samples under DataBound\Hierarhical that bind to a custom colletcion. 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