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