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
Silverlight convert XAML to xaml.cs code at runtime
search complex strings in excel
lock cloumn width for only selected cells
Excel 2003 is looking for pro11.msi, where can i find it and why is it needed all of a sudden?
Error when using "Paste Append" to copy data from Excel to Access
Restore problem
How to createa a checkbox datatype column in a table in VBA code
how to create crystal report programmatically using vs 2005 ide?
Open Sharepoint server's pdf file in asp.net...
Application Settings are not functioning