TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
mattreister
NA
1
0
Listbox.Selected.item
Oct 10 2003 3:03 AM
I am trying to get the text of the currently selected item. listBox1.DataSource = dataset.Tables["words"]; listBox1.DisplayMember = "words"; label1.Text = listBox1.SelectedItem.ToString() When i call listBox1.SelectedItem.ToString() it returns: System.Data.DataRowView. The display of the listbox is fine, but i dont want the type i want the text of the currently selected item. I am new. please help.
Reply
Answers (
1
)
Dispose/destroy all objects when returning to the LogOn form
How can i show the Printer Property Dialog by C# code?