I have one listview. when user select any row on that listview than that selected row contents must be display in others combo box.
my code is here. but it will show error:
lbl_id.Text = listView1.SelectedItems[0].Text;
I have done same task with data grid view on below code and its working . but its grid view and now I wanted it on list view
txt_card.Text = (dataGridView1.Rows[index].Cells["column_name"].Value.ToString());
Bhuvanesh MohankumarPosted May 16, 2016, 10:38 AM