|
-
Jun 15th, 2005, 01:33 PM
#1
Thread Starter
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|