Later versions of Visual Studio have data source controls that require fewer steps. This list of steps uses the SQLDataSource control to bind the Spread control.
C# |
Copy Code
|
---|---|
FpSpread1.DataSource = SqlDataSource1; |
Visual Basic |
Copy Code
|
---|---|
FpSpread1.DataSource = SqlDataSource1 |
If you do not know how to add the FpSpread component to the project, complete the steps in Adding Spread to a Project