前台
<input id="textkey" type="text" name="">
<span><a href="" οnclick="getkey(this)" style="text-decoration: none; color: #FFFFFF">搜索</span>
<script type="text/javascript">
function getkey(a) {
var pms = 'Key=' + document.getElementById("textkey").value;
a.href = 'tsSearch.aspx?' + pms;
}
</script>
接受页面后台
string key = Request.QueryString["Key"];