| |

VerySource

 Forgot password?
 Register
Search
Author: ivanherbert

What does Request.Form ["DropDownList5"]. ToString () mean?

[Copy link]

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-2-20 20:15:01
| Show all posts
You take a look at the knowledge about Response Request.
Reply

Use magic Report

0

Threads

43

Posts

29.00

Credits

Newbie

Rank: 1

Credits
29.00

 China

Post time: 2020-2-21 06:30:01
| Show all posts
The landlord's confusion is that you can directly reference the properties of the server control, why should you use request, right?
Actually it works
Reply

Use magic Report

1

Threads

5

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-2-22 09:15:02
| Show all posts
yfacmilanis right, I don't understand why I can directly refer to the properties of the server control, why use request?
Reply

Use magic Report

0

Threads

5

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-2-23 14:15:02
| Show all posts
But DropDownList5 is a server control? What else does Request.Form do?

-------------------------------------------------- ----------
DropDownList5 is indeed a server control. At that time, getting its selectValue property can only be done in the background processing code of its original page

The role of request.form is to get the value of the control in the form form in the previous page. It is to submit data across pages

When it comes to cross-industry submission, request.form is generally used
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list