There are two ways to write on the ASP.NET page: CodeBehind and Non Code Behind, individuals are biased with CodeBehind, the reason is:
1. The .aspx file does not include code, easy to make a beautifying work
2. Current Visual Studio .NET 2003 does not support Non codeBehind
3. Pages and code separation, which is conducive to code reuse
4. Convenient unit test
The disadvantage is to increase the complexity of the code, but for a slightly somewhat application, it is worth it.