Spread for ASP.NET 8.0 Product Documentation > Developer's Guide > Managing Data Binding > Tutorial: Binding to a Corporate Database > Using Spread with the AccessDataSource Control |
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