True DBGrid for WinForms | ComponentOne
In This Topic
    Bind True DBGrid to Data Source
    In This Topic

    True DBGrid for WinForms can universally bind to any .NET data source. Requiring minimal or no coding at all, the TrueDBGrid control can create a fully-navigational database browser in just seconds.

    True DBGrid for WinForms fully supports data binding to ADO.NET objects such as DataTable, DataView and DataSet objects. To associate a True DBGrid for WinForms control with an ADO.NET or DataObjects for WinForms data source, set the DataSource property of the grid to a DataSet on the same form. If the DataSet contains multiple tables, you can select a table name in the DataMember property combo box. The DataSource and DataMember properties can be set both through code, and through Visual Studio's Properties window. This is all that is required to make True DBGrid for WinForms fully aware of the database or DataTable in your application.

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