HTML代码
<form method="post" action="/ContractManage/ContractSearch"> <input type="text" id="username" name="username" /> <input type="text" id="password" name="password" /> <input value="jklsd" type="submit" /> </form>
C#代码
string name = Request.Form["username"]; string pwd = Request.Form["password"];
时间: 2024-10-11 19:29:07