Xceed Grid for WinForms v4.3 Documentation
Welcome to Xceed Grid for WinForms v4.3 / Sample applications / DataBinding Sample Application
In This Topic
    DataBinding Sample Application
    In This Topic

    Programming languages

    VB.NET, C#

    Overview

    Xceed Grid for WinForms can bind to more data sources than any other grid, for example, jagged arrays, ILists, IListSources, simple types, primitives, DataSets, DataTables, DataViews, etc. This sample demonstrates various ways to perform data binding with Xceed Grid for WinForms.

    Demonstrates

    • How to implement the IBindingList interface 

    • How to dynamically retrieve data from a database table 

    • How to derive from the CollectionBase class 

    • How to bind the grid to a jagged array, string array (an example of a simple type), a Collection, a collection implementing IBindingList, and a DataTable. 

    • How to implement the IEditableObject interface 

    • How to implement the ITypedList interface 

    • How to implement the ISupportInitialize interface

    How to use

    Choose the type of data source in the Select a data source to bind to section.

    Project location & filename

    C#: Xceed Samples\Xceed Grid for WinForms v#.#\CSharp\DataBinding\Xceed.Grid.Samples.DataBinding.csproj

    VB.NET: Xceed Samples\Xceed Grid for WinForms v#.#\Visual Basic .NET\DataBinding\Xceed.Grid.Samples.DataBinding.vbproj