Results 1 to 5 of 5

Thread: Writing Selected ListBox Item to DB...[RESOLVED - x2]

Threaded View

  1. #1

    Thread Starter
    Lively Member milkmood's Avatar
    Join Date
    Mar 2005
    Location
    Forests of Delta Halo
    Posts
    109

    Resolved Writing Selected ListBox Item to DB...[RESOLVED - x2]

    Ok, here's an easier one (for you, not me). I'm trying to write a selected item in a listbox to my db, and I get various results with different choices.

    I've tried:

    listbox.SelectedItem
    listbox.SelectedValue
    listbox.SelectedIndex
    listbox.DataSource
    listbox.DisplayMember

    I've tried them all with .ToString added, also.

    I get db entries ranging from

    "

    to

    System.Data.DataRowView

    but no actual entry that looks anything like the customername and partnumber that's selected in the ListBox.
    Last edited by milkmood; Jun 15th, 2005 at 01:56 PM.
    When I say 'jump', don't waste time asking 'how high?'.

    Just a poor, dumb wanna-be programmer.

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