DropDownList2 зацикливается, чтобы связать данные с DropDownList3, но я получаю ошибку ": DataBinding: 'System.String' не содержит свойства с именем 'ALL'.", Если я использую DropDownList2 для выбора другого значения.
DropDownList2_SelectedIndexChanged(object sender, EventArgs e)
{
DropDownList3.DataSource = null;
DropDownList3.DataBind();
DropDownList3.Items.Clear();
//generic list
listDropDown3.Clear();
listDropDown3.Add("ALL");
DropDownList3.DataSource = listDropDown3;
DropDownList3.DataBind(); **** <<<=== pukes on DataBind() during second iteration:
" DataBinding: 'System.String' does not contain a property with the name 'ALL'."
}
Помогите пожалуйста, это сводит меня с ума.