Results 1 to 2 of 2

Thread: help!

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2002
    Location
    Florida
    Posts
    24

    Question help!

    have a list box bound to a dataset filled by a sqldataadapter. I get an error when I try to acquire the selectedvalue from the list box in code. The values seen turn to all the same value: system.data.datarowview
    I don't get this error when I bind the listbox to an array.
    Anyone know a reason why this happens?

    dim g as string
    g = listbox.selectedvalue

    thanks

  2. #2
    Lively Member
    Join Date
    Sep 2002
    Posts
    90
    The Thread I just posted will help. It show how to retrieve the Selected Text in the Listbox instead of what you are getting.

    http://www.vb-forums.com/showthread....hreadid=257774

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