摘要:
让DropDownList下拉值等于数据库中的值被选中for (int i = 0; i < ddllevel.Items.Count;i++) { this.ddllevel.Items[i].Selected = false; if (this.ddllevel.Items[i].Text == Convert.ToString(dTable.Rows[0]["fuwulevel"].ToString())) { this.ddllevel.Items[i].Selected = ... 阅读全文