Error: Argument prompt cannot be converted to type string.
Hi,
I have this following problem in Visual studio 2005, VB dot net application.
On the form I have a listbox & textbox, I want that when i select a item from listbox then it shows in the textbox. SelectedIndexChanged event works fine for this, but the problem is this event fires when I fill the listbox with dataset, and I get the error: Argument prompt cannot be converted to type string.
Regard,
Re: Error: Argument prompt cannot be converted to type string.
Hello Kiran123!
Why dot you use RemoveHandler & AddHandler?
call RemoveHandler before filling the dataset and AddHandler
after filling the dataset to avoid the handler being hit during the fill.
Re: Error: Argument prompt cannot be converted to type string.
Well I am not sure how to do this can you provide me any sample code for the same?
Thanking you in advance!
Re: Error: Argument prompt cannot be converted to type string.