我正在创建一个在线注册系统。当用户填写表单并单击提交时,下一页应显示该用户信息。
protected void Page_Load(object sender, EventArgs e)
{
NameValueCollection nvc = Request.Form;
surname.Text = nvc["surname"];
firstname.Text = nvc["firstname"];
birth_year.Text = nvc["birth_year"];
birth_month.Text = nvc["birth_month"];
birth_day.Text = nvc["birth_day"];
citizenship.Text = nvc["citizenship"];
gender.Text = nvc["gender"];
home_address.Text = nvc["home_address"];
}