首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

怎样得到表单值解决方法

2012-01-11 
怎样得到表单值index.htm的代码如下:...formaction login.aspx method post inputtype text i

怎样得到表单值
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 "]

热点排行