Results 1 to 9 of 9

Thread: Getting Value Member of Combobox

Threaded View

  1. #5

    Thread Starter
    Addicted Member riechan's Avatar
    Join Date
    Feb 2008
    Location
    Japan
    Posts
    254

    Re: Getting Value Member of Combobox

    Like this?

    Code:
    PatronNumber = cmbPatronType.SelectedValue
    Thing is, when I check the value using a msgbox, it doesn't return any value. I tried this:

    Code:
    PatronNumber = cmbPatronType.SelectedValue.ToString
    But, it returned the following error: Object reference not set to an instance of an object.
    Last edited by riechan; Dec 29th, 2009 at 12:08 AM.
    ====================
    ほんとにどもありがとう!

    Rie Ishida

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width