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