Microsoft
Software
Hardware
Network
Question : refreshing listbox value
I have a listbox on a form. Sometimes the value of the listbox does not reflect what is actually selected. Specifically, after I have deleted an item from the listbox and there is no item selected on the listbox, the value it reflects in some code following is still the id of the deleted item instead of "null." Is there a way to refresh the value? I tried using the requery command, but did not work?
Answer : refreshing listbox value
After deleting ... try this:
Me.YourListBoxName = Null
This will clear the list box.
mx
Random Solutions
How to change color in datarow in gridview in Web Part??
How to insert semicolon next to my values in excel column
Two DHCP Servers on one network
Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call.
SSIS Data Massage/Concatenation??
Replication failed. The search key was not found in any record.
YTD Query breakdown by week for all weeks.
Formula for Previous Friday to Thursday
Need help getting started with n-tier design in asp.net 3.5
Non-proportional spacing in MS_Word