string[] row1 = { "s1", "s2", "s3" };
string[] row2 = { "s1", "s2", "s3" };
ListViewItem item = new ListViewItem("col1");
item.SubItems.AddRange(row1);
ListViewItem item1 = new ListViewItem("col2");
item1.SubItems.AddRange(row2);
listView1.Items.AddRange(new ListViewItem[] { item, item1 });
listView1.View = View.Details;
....I added some columnheaders to the listview in this case was very simple BUT if I'm getting arrays with different sizes...Is it any way how I can make this columnHeaders changing, adding more column Headers in case the size increase or decrease? (writing some code maybe)
Any idea?