Detail taste ASP.NET (2)

zhaozj2021-02-08  258

Detuction ASP.NET (2) Green Apple Studio (Compilation) 01-5-17 01:33:55

Web form

ASP.NET Web Forms is the WEB page, which is the same as the work you have written in ASP code. But not only this, the ASP.NET Web Forms is designed on an object-oriented programming model, so that the code can be reused, and the application code is separated from the page content. In Visual Basic, you drag a control to a form and perform the event program underout. In traditional ASPs, this is impossible because there is no link between user interface controls and their server-side code. But in ASP.NET, such a link exists. So, you can write the code shown below without manually drag the value from the variable table:

Table 1 Simple ASP.NET Web Form routine