How can I bind a Datatable to a ListView with Details? Something similar to how it works with the ListBox:
Does it exist anything similar to what I have written above?Code:listView.DataSource = myDataTable; listView.Columns[0].DisplayMember[0] = "Name"; //DisplayMember for the first column listView.Columns[0].DisplayMember[1] = "Age"; //DisplayMember for the second column listView.ValueMember = "Essay"; //The ValueMember for the row




Reply With Quote