getting selecteditem text from listbox

I'm trying to get the text from a listbox after the user makes a selection. The examples that I've seen indicate to use selecteditem.Text, but this does not work. this is a visual basic.net winapp, the listbox is populated from an access database. Any suggestions?

Comments

  • : I'm trying to get the text from a listbox after the user makes a selection. The examples that I've seen indicate to use selecteditem.Text, but this does not work. this is a visual basic.net winapp, the listbox is populated from an access database. Any suggestions?
    :

    It all depends on how you are populating the listbox. I would need to see how you were doing that.
  • : : I'm trying to get the text from a listbox after the user makes a selection. The examples that I've seen indicate to use selecteditem.Text, but this does not work. this is a visual basic.net winapp, the listbox is populated from an access database. Any suggestions?
    : :
    :
    : It all depends on how you are populating the listbox. I would need to see how you were doing that.
    :
    I'm using datasource and datamember in the properties dialog
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories