FlexGrid for WinForms Tutorials > Data Analysis Tutorial > Step 1 of 4: Create the C1FlexGrid Control for the Data Analysis Tutorial |
Start a new project and add a C1FlexGrid control to the form by clicking the C1FlexGrid icon on the toolbox, then clicking on the form and dragging until the object has the proper size.
If you can't find the C1FlexGrid control in the Toolbox, right-click on the Toolbox and select Choose Items. Then, look for the C1FlexGrid control on the list of .NET components and make sure it is checked. If you can't find the grid in the component list, you may need to re-install the product.
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
Imports System.Data.OleDb Imports System.ComponentModel Imports C1.Win.C1FlexGrid |
To write code in C#
C# |
Copy Code
|
---|---|
using System.Data.OleDb; using System.ComponentModel; using C1.Win.C1FlexGrid; |
This makes the objects defined in the C1FlexGrid and OleDb assemblies visible to the project and saves a lot of typing.