当前位置: 代码迷 >> ASP.NET >> 怎样得到表单值解决方法
  详细解决方案

怎样得到表单值解决方法

热度:5324   发布时间:2013-02-26 00:00:00.0
怎样得到表单值
index.htm的代码如下:
...
<form   action= "login.aspx "   method= "post ">
  <input   type= "text "   id= "username "/>
  <input   type= "submit ">
</form>
...

login.aspx怎样得到表单中的username值?我试用Request.QueryString不行。

------解决方案--------------------------------------------------------
request.form[ "username "]
  相关解决方案