两种方法:
1.加runat="server"
<input id="Text1" runat="server" type="text" />
后台获取 string str=this.Text1.value;
2.直接获取
<input id="Text1" name="GetValue" type="text" />
string str=Request.Form["GetValue"];
转载于:https://www.cnblogs.com/627jx/p/7692157.html