Is it possible to get all the values from the DataValue fields of a Dropdown List in to an Array ? Im trying to store the DataValues in to an Array and use it later for some verification purpose.
DropDownList dropDownList = new DropDownList();
dropDownList.ID = "dropDownEmployees";
dropDownList.DataSource = sqlDS;
dropDownList.DataTextField = "Employee";
dropDownList.DataValueField = "Employee_Name";
1 Answer