
foreach (var item in lv_allStudents.SelectedItems) { //code }it returns System.Data.DataRowView. I need the value of specific column(Column M)
foreach (var item in lv_allStudents.SelectedItems) { //code }it returns System.Data.DataRowView. I need the value of specific column(Column M)Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Bikesh SrivastavaPosted Sep 16, 2016, 3:32 AM
Icer ExiomoPosted Sep 16, 2016, 2:40 AM
Jisny AvPosted Sep 16, 2016, 2:25 AM
{
string id = item.SubItems[0].Text;// return first column value
string name = item.SubItems[1].Text;// return second column value
}