G
Guest
Hi,
I have couple of listboxes and a couple of combo box on a form. The
listboxes are databound. I am trying to clear the selection of the listboxes
if they are not selected by using ListBox.ClearSelected() but in vain.
The following lines are in the constructor of the form.
Listbox.DataSource = myDataSet;
Listbox.ClearSelected().
Can anyone please suggest as to how to clear the selection of the listbox if
not selected.
Thanks in advance.
I have couple of listboxes and a couple of combo box on a form. The
listboxes are databound. I am trying to clear the selection of the listboxes
if they are not selected by using ListBox.ClearSelected() but in vain.
The following lines are in the constructor of the form.
Listbox.DataSource = myDataSet;
Listbox.ClearSelected().
Can anyone please suggest as to how to clear the selection of the listbox if
not selected.
Thanks in advance.