|
In code-behind mode, two classes are automatically generated
First:
It is partial, which only contains the declaration code of the page control; the class name is consistent with the class name in the code-behind file, for example: MyPage;
Two places:
The class name is similar to webform1_aspx, which is a subclass of MyPage in the first above. The main logic of the code is to generate a control tree. |
|