Gridview updating new values
After completing this tutorial I encourage you to return to the earlier tutorial and update it to use the database transaction-related functionality added in the preceding tutorial.As discussed in the An Overview of Inserting, Updating, and Deleting Data tutorial, the Grid View offers built-in support for editing its underlying data on a per-row basis.The easiest way to accomplish this is to create where each editable field is implemented as a Template Field with its editing interface defined in the .Over the next several steps we'll create a completely editable Grid View.This impact on the database could be lessened by caching the returned categories either in a per-request cache or through the Caching Layer using a SQL caching dependency or a very short time-based expiry.
NET page s code-behind class that batches the data and passes it to the BLL.
At this point the Grid View has three Bound Fields ( Note We explored creating and customizing Template Fields in the Customizing the Data Modification Interface tutorial.
We'll walk through the steps of converting the Bound Fields and Check Box Field into Template Fields and defining their editing interfaces in their From the Grid View s smart tag, click the Edit Columns link to open the Fields dialog box.
Note In the Performing Batch Updates tutorial we created a batch editing interface using the Data List control.
This tutorial differs from the previous one in that is uses a Grid View and the batch update is performed within the scope of a transaction.
While the steps here are complete, they are presented tersely.