62,243
社区成员




@using(html.beginform()){
@html.textbox("test1")
<input type="text" name="test2" id="test2" />
<input type="submit">
}
controller
public actionresult test()
{
return view();
}
[httppost]
public actionresult test(string test1,string test2)
{
return content("test1的值是:"+test1+"<br>test2的值是:"+test2);
}