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.