ComponentOne TileControl for WinForms
In This Topic
    Data Binding Overview
    In This Topic

    The C1TileControl can universally bind to any generic .NET data source. Requiring little or no code at all, the C1TileControl can create a fully-navigational database browser in mere seconds.

    TileControl for WinForms fully supports complex data binding to ADO.NET objects such as DataTable, DataView and DataSet objects.

    To associate the C1TileControl with an ADO.NET or DataObjects for WinForms data source, set the C1TileControl.DataSource property of the TileControl to a DataSet on the same form. If the DataSet contains multiple tables, you select a table name in the C1TileControl.DataMember property combo box.

    The C1TileControl.DataSource and C1TileControl.DataMember properties can be set both through code, and through Visual Studio's Properties window. This is all that is required to make TileControl for WinForms fully aware of the database or DataTable in your application.

    Once such a link exists, TileControl for WinForms and the DataSet automatically notify and respond to operations performed by the other, simplifying your application development.

    The Tile properties of the C1TileControl can be mapped using the C1TileControl.PropertyMappings Collection Editor at design time or programmatically though the PropertyMapping class.

    For an example of how to use the Property Mappings see, Step 5 of 7: Setting the TileControl’s Property Mappings.

    For conceptual information about the Property Mappings see, Property Mapping.

    Note: For a complete sample on binding TileControl to a data source , see the Databound sample installed with Studio for Winforms.