Spread for ASP.NET 10 Product Documentation
Data Binding Overview

You can bind the component to a data set. When you bind the component using the default settings, data from the data set is read into the columns and rows of the sheet to which you bind the data. Columns are associated with fields, and rows represent each record in the data set.

For the basic steps used to set up data binding, see Binding to a Data Source. For a detailed walk-through of binding to a database see, Tutorial: Binding to a Corporate Database.

You can customize data binding in many ways, including:

There are many alternative ways to set up data binding. To learn more about data binding in Visual Studio .NET, consult the Visual Studio .NET documentation.

  • How you handle state management while bound to a database or working with large data sets can affect your application’s performance. You need to set up state management to optimize performance and account for other factors. For more information, refer to Maintaining State.
  • If your data set is not getting updated when you click the Update button, see the information and instructions in Limiting Postbacks When Updating Bound Data to make sure that you have code in your page load event so that you only re-create the bound data when you are loading for the first time and not overwriting it on each post back.

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options | Documentation Feedback