Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

i have a databound listbox that i am populating from an Access table w/o any problems. The table only has one field in it so this is a no brainer.

 

My problem is in getting the selected item from the listbox. when i try this with a .SelectedItem call i get "Cast from type 'DataRowView' to type 'String' is not valid."

 

I was doing fine getting selected values when using a Collection. My problem just started when i Bound the listbox to a dB table.

 

I need a clue - Thanks - tom

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...