I'm using a form runat="server"
in a main aspx page. This page calls user controls. If a user control has non server side form elements, such as:
我在主aspx页面中使用表单runat =“server”。此页面调用用户控件。如果用户控件具有非服务器端表单元素,例如:
<input type="text" name="lastname" id="txtlastname">
should those still show up in this.Request.Form
? I don't see them there.
应该那些仍然出现在这个.Request.Form?我在那里看不到它们。
1 个解决方案
#1
3
The value is available in the Request.Form object
该值在Request.Form对象中可用
? Request.Form["lastname"] "this is the txt box"
? Request.Form [“lastname”]“这是txt框”
#1
3
The value is available in the Request.Form object
该值在Request.Form对象中可用
? Request.Form["lastname"] "this is the txt box"
? Request.Form [“lastname”]“这是txt框”