Get item value in ListView

  • Thread starter Thread starter Guest
  • Start date Start date
You can do something like this:

if (this.listView1.SelectedIndices.Count > 0)
{

MessageBox.Show(this.listView1.Items[this.listView1.SelectedIndices[0]].Text
);
}
 
Back
Top