In this post I will explain the Separation of concerns in asp.net. How you will separate your data manipulation and the interface manipulation .Here I am showing by an example, first I will mix the data manipulation and the interface manipulation in code