Since Microsoft launched ASP.NET, Code Behind became a popular topic that everyone talked. Code Behind, the so-called code separation, it can make your program more organized, more readable! In the era of ASP, the cooperation between programmers and artists is always less harmonious. The slight page change will make us great movement. Once, I also tried to achieve code separation in the ASP, such as handling various transactions in advance, and then use JavaScript to receive the data, and finally call. Although the function is realized, it cost is even greater, and it is a bit of the Eastern Evil. Now there is ASP.NET, the problem is solved!
Through a simple example, you understand the code behind. First create a Test.aspx page:
<% @ Page language = "c #" inherits = "jeky" src = "test.aspx.cs"%> < Head>