So I've been told it isn't possible to have a listbox with two columns of items, and was told to use a listview.
I've been reading up on listviews, but I'm a little confused as to how to populate a listview from a dataview...
With the Listbox, I used the code:
lstAmend.DataSource = dvRPA
lstAmend.DisplayMember = "NUM_AMENDMENT"
but this isn't available for listviews.
I need to be able to display a list of items (containing two columns) from a dataview.
Thanks,
amber
I've been reading up on listviews, but I'm a little confused as to how to populate a listview from a dataview...
With the Listbox, I used the code:
lstAmend.DataSource = dvRPA
lstAmend.DisplayMember = "NUM_AMENDMENT"
but this isn't available for listviews.
I need to be able to display a list of items (containing two columns) from a dataview.
Thanks,
amber