Traditional Culture Encyclopedia - Weather forecast - Asp.net's problem of getting the contents of the text box
Asp.net's problem of getting the contents of the text box
Request. Form ["textBox 1"]
This is form submission. In fact, the original server side accepts data submitted by client forms. For example, instead of using server controls, you only use html original controls.
this.textBox 1。 text
And this is the way to gain the value of Microsoft server control. In fact, you will understand that there is no difference between form submission and server control.
Simply put, in the underlying framework of Microsoft,
First, after submitting the form,
Second, intercept the submitted data (request. Form["textBox 1"] may use it)
Third, assign this.textBox 1. Text is added to the server-side control class.
Fourth, of course, you get the data. .
Hehe, this can improve the efficiency of your code writing, but it also has disadvantages. Simplicity can improve coding efficiency, complexity can not improve efficiency, but also increase learning products.
Therefore, it is suggested that while using. Net server control, we should not limit our thinking, but should think about the original way.
Just like humans, you can predict the changes of nature in many ways, such as the weather.
Now people have degenerated with the development of convenient technology.
However, convenient technology does not bring you better predictive ability. So is the weather forecast.
I wish you better and better in the programming industry.
- Previous article:The history of Qin's demise
- Next article:Fushun West Lake composition should be written in spring, summer, autumn and winter.
- Related articles
- I want to go to Xiamen to play 20 1 1 on May 5-9. I wonder if my friends in Xiamen can tell me what the weather is like in Xiamen recently. Is there a rainstorm recently?
- What clothes are suitable for Sichuan now?
- Yunfu, why is it sunny and rainy now?
- Weather forecast for Shenzhen from August 3 to 6.
- Does anyone know who the mummy on the Titanic is? Is it Princess Amanra? How is she? Does it have anything to do with Carmen?
- What is the real life like in Xi 'erqi, Beijing?
- Weather forecast for September 9th.
- Which is better, Tianqidan or Proya Ruby, to lighten and tighten fine lines?
- Download the latest txt complete set of "The Doomsday Game"
- Can Zhuangyuan Mansion in the east of Xiangyin City deliver the house as scheduled now?