页面中的下拉列表框是动态绑定的,如果点击提交按钮时,下拉列表框就会重新刷新问题?
DataSet aDataSet = cnn.QueryDataset("select * from book_subject where primary_id='" + this.choosetype.SelectedValue + "'");
this.DropDownList2.DataSource = aDataSet.Tables[0];
this.DropDownList2.DataTextField = aDataSet.Tables[0].Columns[1].ToString();
this.DropDownList2.DataValueField = aDataSet.Tables[0].Columns[2].ToString();
DropDownList2.DataBind();