rajputamitd
asked on
Clear ListBOx Item
I have a ListBox,in which I set a text like "Click For States".Now I want to clear when I add states to this ListBox.Which method is there to retrieve the Text in the ListBox and to clear that.
I want to clear that message when I add states in that.When that ListBox contains"Click for states" and when I am adding states in it,the message should be cleared.
Thanks in advance.
I want to clear that message when I add states in that.When that ListBox contains"Click for states" and when I am adding states in it,the message should be cleared.
Thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ya I do understand what u want to say.But is there any other way trrough I can achieve the same.
lstName.Items.Clear();
Is this what you are looking for?
Is this what you are looking for?
ASKER
Thanks for you help guys.Problem is solved.
Open in new window