null in listbox??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

why are all my columns null.. when i step through the code?
i.e. lstbox.column(7)

says is = null.. but isn't.. i see the data.. and even if i change the 7 to
another prior # i still get this error msg of null.

thanks in advance.
 
This behavior indicates that you set it up as a multi-select list box.

To access the values of the columns in the selected rows of a multiselect
list box, you must iterate through its ItemsSelected collection, as its
Value will be null
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top