一个dropdownlist和一个botton,在dropdownlist中有河北,河南,山东等省份希望选择一个省份后点击按钮

来源:百度知道 编辑:UC知道 时间:2024/06/03 23:52:01
到达第二个页面且显示 所选择的省份

protected void dropdownlist_SelectedIndexChanged(object sender, EventArgs e)
{
Response.Redirect("第二个页面.aspx?shengfen=" + dropdownlist.SelectedValue.ToString());
}
希望可以帮助你


点击按钮 把选择的值 传到新的界面上不就行了?