concept this scenario in category asp.net

appears as: this scenario
ASP.NET 4.0 in Practice

This is an excerpt from Manning's book ASP.NET 4.0 in Practice.

This section uses the in-practice approach that we’ll use in the rest of the book. We’ll analyze every aspect of a topic using a problem-solution-discussion style. The first topic we’ll discuss in this way is how to handle PostBack in a Web Form. Because the foundation of ASP.NET is the same for all versions, we’ve designed this scenario to help you understand a common challenge that you can solve using any version of ASP.NET.

Figure 5.6. EntityDataSource automatically handles editing, deleting, sorting, and paging. You have to enable the corresponding data control feature; in this scenario, we used GridView.

You need to start to reuse code to solve recurring problems. Our objective with this scenario is to save you time when you’re adding more features. You want to write the code once and use it in different situations.

In this scenario, you define the property as an inner tag, but the options listed in table 6.1 are also available.