Gridview rowupdating get old value
In this tutorial you will create separate classes for business logic and for data-access logic.
This tutorial series builds on the Contoso University web application that is created by the Getting Started with the Entity Framework 4.0 tutorial series.For example, you can perform logging every time an entity is updated, archive data whenever an entity is deleted, or automatically check and update related data as needed when inserting a row with a foreign key value. For example, when you update a department, you might need to validate that no other departments have the same administrator because one person cannot be administrator of more than one department.In some that includes both business logic and data-access logic.The business logic class includes both business-logic methods and data-access methods, but the data-access methods call the repository to perform data-access tasks.
You will also create an abstraction layer between your BLL and DAL that facilitates automated unit testing of the BLL.
NET Web Forms model and assumes you know how to work with ASP. The control gives you more flexibility in other ways as well.