The formview fired event itemupdating

With the Form View (or any of the Data Views), I normally use a Data Source to move data from some data store and into/out of the view.However, the Form View (and the rest of the Data Views) will work just as well with any collection of objects: Lists, Arrays, Array Lists, or whatever collection you want to make available to the user for display and update.They make it easier to build webpages that access, display, manipulate, and save data. You use these controls to configure access to data that you intend to use on a webpage.Using these controls can provide development efficiency when you are building business applications that rely heavily on data. A data source can be a relational database, data stored inside of in-memory objects (such as a Data Set or an Entity Data Model), XML-based data, or data you retrieve via Microsoft Language-Integrated Query (LINQ).It s fairly common for Web applications to work on a single record at a time.For example, displaying the contents of a single record of data is a necessary practice when you build master/detail views. NET 2.0, the Details View control renders a single record at a time from its associated data source, optionally providing paging buttons to navigate between records and Create/Read/Update/Delete (CRUD) capabilities.The last lesson presents the new Dynamic Data features of ASP.

There are ways to lower the cost of the usage of the Eval method. If you are using these controls (Data-Bound web controls) for enterprise web applications with several thousands of clicks per minute, the Eval method isn't really the best solution. In this example we are NOT going to use Eval or Bind methods, we are NOT going to use Data Source controls. Our example is going to bind the data from a Data Set, edit this data and update it.

We are going to do everything from the server side. This control has one very important event that we are going to heavily manipulate - Item Data Bound. Code explanation We are going to have Label controls in Item Template and Text Box controls in Edit Item Template.

In "edit mode" every Label is going to be switched with Text Box.

The default set of data fields includes templated, image checkboxes, and hyperlink fields.

For more information on the Details View control, see "Getting Under the Detail Views Control.