Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我form runat="server"在主 aspx 页面中使用 a 。此页面调用用户控件。如果用户控件具有非服务器端表单元素,例如:
form runat="server"
<input type="text" name="lastname" id="txtlastname">
那些还应该出现this.Request.Form吗?我在那里看不到他们。
this.Request.Form
该值在 Request.Form 对象中可用
? Request.Form["lastname"] "this is the txt box"