Quick Start: C1DataSource for WinForms > Step 2: Connecting the Data to C1DataSource |
In this step, you'll add a C1DataSource component to the form and connect it to the Categories table of the data source.
Note: The C1DataSource.ContextType Property accepts both DbContext and ObjectContext derived types, as its values. |
With the database connected to C1DataSource, all you need to do is add a grid to display the data.