hi there

i know , im sure of it, in vb you can have an onclick event for a listbox or something similar right?

what about in asp.net?

what i wanna do:

i have a listbox with entries filled from a store proc in SQL
when the user clicks on one of them, i want the delete button to be enabled, then to ask the user if they are sure to delete that record

i cant find a way of getting the onclick event to work with the listbox - what is it? how can i do that?


how would u extract text after a certain point in a listbox text or in a textbox?



Last Q:

I have a store proc in SQL, which will (hopefully) check to see that if the current ID number passed from vb.net is in use, it will NOT delete that record, and return back "false" or true depending on the circumstances.

how can i return that value back to a variable in vb.net? or even display that true or false word in a textbox in asp.net/vb.net?

Thanks!