>I have a listbox which is bound to a list of values stored in a table. If the user does not select an item in the list I want to throw a message on the screen stating you haven't selected an item on the list. How do you test if a user has selected an item in a listbox?
>
>Many Thanks
One way is to loop through ListBox items and check if there is at least one selected. Other way is to check the Value ov the listbox, it must be empty if there is no selected item.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.