private static void InsertDdlFirstItem(DropDownList ddlObject) { ListItem firstItem = new ListItem(); firstItem.Value = ""; firstItem.Text = "--请选择--"; firstItem.Selected = true; ddlObject.Items.Insert(0, firstItem); }
转载于:https://www.cnblogs.com/lizhao/archive/2010/04/13/1990471.html