ASP. NET Step 1 learning notes and experiences
Today I am mainly studying some common Asp.net controls and learning some things based on controls, such as the layer of server controls, the difference between web and HTML controls, and the server control tree, events of server controls, server controls, and client controls.
The server control tree and control hierarchy are not well understood, and a control class is used to return the layers of various controls.
The longest-used controls include
1.
Dropdownlist
Drop-down list control
2.
Checkboxlist multi-choice box list control
3.
Fileupload
File Upload Control
4.
Multiview multi-view controls
5.
Requiredfiledvalidator
Required field verification control
Where
In the multiview book, I don't know much about it. I need to learn more in the future. Pay attention to the dynamic control of each control, and dynamically set the control status in the program.
In addition, learning is used again.
Web. the config file is used to restrict the upload of files, and again understands why the web is added to the website. the config file is mainly used to define data that needs to be used globally. It is easier to program and facilitates modification and debugging. For example:
<Httpruntime maxrequestlength = "40960" execution = "60"/>