1. How to control the properties of client controls on the server side
For example, add this. btnclose. Attributes. add ("onclick", "window. close ();") to the page_load () event ();")
2. Functions of page. Ispostback
In the page_load () event, when the page is loaded for the first time, the page information is still retained when the page is initialized and loaded again.
3. Page value transfer troubleshooting
When action = "post": the parameter is obtained using username = Request. Form ["username"]. ToString ();
Or username = Request. Form. Get ("username"). ToString ()
When action = "get": the parameter is obtained using username = Request. QueryString ["username"]. ToString ()
When Response. Redirect ("main. aspx? Username = "+ username) format also belongs to action =" get"
The parameter is also obtained using username = Request. QueryString ["username"]. ToString ()
4. How to define and use styles in Dreamweaver MX.