????????
???????????ASP.NET????????????ASP.NET?????????????????????????ж???ο????????????????????????????????£???л???
????Response.Write Redirect
????Response.Write()???????????????????????????????飻Response.Redirect????????????????url?????????????????ν?????
????????????????????????????????????棬?????????
??????????web????Redirect.aspx??????
<form id="form1" runat="server">
<div>
<table>
<tr>
<td >?????:</td>
<td><asp:TextBox runat="server" ID="txtName"/></td>
</tr>
<tr>
<td >???</td>
<td ><asp:TextBox runat="server" ID="txtSex"/></td>
</tr>
<tr>
<td>
&nbsp;
</td>
<td><asp:Button runat="server" ID="btnRegister" Text="???" OnClick="btnRegister_Click" /></td>
</tr>
</table>
</div>
</form>
????Redirect.aspx.cs???????????btnRegister_Click???
protected void btnRegister_Click(object sender?? EventArgs e)
{
string strname = this.txtName.Text;
string sex = "";
if (txtSex.Text == "??")
{
sex = "????";
}
else if (txtSex.Text == "?")
{
sex = "??";
}
Response.Redirect("Index.aspx?sName=" + strname + "&Sex=" + sex);
}
?????????????wen????Index.aspx??????????д
protected void Page_Load(object sender?? EventArgs e)
{
string name = Request.QueryString["sName"];
string sex = Request.QueryString["Sex"];
Response.Write(name  + "  "  + sex +"??????");
}
????????Ч????????????????