Greetings,
PROBLEM: I'm having difficulty removing a specific item from a DropDownList. In essence, I want to 'refresh' the DropDownList to exclude SelectedItems that have been deleted. Ideally, back to the first item in the list.
After successfully populating a DropDownList with the results from a database query AND then successfully deleting one of those records, I'm having difficulty removing that specific record I deleted from the DropDownList.
If I call the procedure that originally loaded the DropDownList, it will only ADD the new query results to the existing DropDownList items.
I thought I could set the
property to FALSE right before the procedure call and then to TRUE immediately after, but it had no effect.
Any ideas for this ASP.net newbie?
Thanks
PROBLEM: I'm having difficulty removing a specific item from a DropDownList. In essence, I want to 'refresh' the DropDownList to exclude SelectedItems that have been deleted. Ideally, back to the first item in the list.
After successfully populating a DropDownList with the results from a database query AND then successfully deleting one of those records, I'm having difficulty removing that specific record I deleted from the DropDownList.
If I call the procedure that originally loaded the DropDownList, it will only ADD the new query results to the existing DropDownList items.
I thought I could set the
Code:
EnableViewState
Any ideas for this ASP.net newbie?
Thanks