G
Greg
I'm trying to set a asp
ropDownList control value to blank/null for records
that have no value. But, I'm finding that even though their is no value in my
source data, it displays a record from the drop down list anyways. How can I
have the DropDownList showing nothing when no value exists?
this.lstManagerID.Text = string.empty;
this.lstManagerID.SelectItemValue = string.empty;
this.ManagerID.SelectedItem.Value = string.Empty;
None of these options set the DropDownList to show nothing.
Any suggestions?
Thx
ropDownList control value to blank/null for recordsthat have no value. But, I'm finding that even though their is no value in my
source data, it displays a record from the drop down list anyways. How can I
have the DropDownList showing nothing when no value exists?
this.lstManagerID.Text = string.empty;
this.lstManagerID.SelectItemValue = string.empty;
this.ManagerID.SelectedItem.Value = string.Empty;
None of these options set the DropDownList to show nothing.
Any suggestions?
Thx