不知道图片能不能看清我贴个源码在下面public void Major_SelectedIndexChanged(object sender, EventArgs e) { string major = "";//就是这个major if (Major.SelectedItem.Value == "3") { panel1.Visible = true; major = major + major1.Text; } else { panel1.Visible = false; major = major + Major.SelectedItem.Text; } }protected void Button_Click(object sender, EventArgs e) {//在这里面使用major}
1 回答
- 1 回答
- 0 关注
- 973 浏览
添加回答
举报
0/150
提交
取消