I have a multi select list box that is bound to a datatable. I am trying to
retrieve the user's selections from the list box. I am using the code below.
foreach (System.Data.DataRowView item in lstServices.SelectedItems)
{
MessageBox.Show(item.ToString());
}
The message box displays System.Data.DataRowView. How do I get it to
display the actual value of the selected item - both the display value and
the bound value? Thanks for your help.
Weste
retrieve the user's selections from the list box. I am using the code below.
foreach (System.Data.DataRowView item in lstServices.SelectedItems)
{
MessageBox.Show(item.ToString());
}
The message box displays System.Data.DataRowView. How do I get it to
display the actual value of the selected item - both the display value and
the bound value? Thanks for your help.
Weste