You can customize the user interface of the Details View control to a large extent.
You can choose the most appropriate combination of data fields to render each piece of information conveniently.
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.
After we call Data Bind method Item Data Bound event is fired.
This code is the second part of "if statements" in the Item Data Bound event handler.
As you can see we are checking if this is "view mode" or "edit mode" to bind the right data to the List View control.
This will be more clear as we get to the other event handlers.