Yes here comes the code.

Code:
private void PopulateListView()
{
         // Create a new ListView control.
         ListView listView1 = new ListView();

         // Create three items and three sets of subitems for each item.
         ListViewItem item1 = new ListViewItem("item1",0);

         item1.SubItems.Add("1");
         item1.SubItems.Add("2");
         item1.SubItems.Add("3");

         ListViewItem item2 = new ListViewItem("item2",1);

         item2.SubItems.Add("4");
         item2.SubItems.Add("5");
         item2.SubItems.Add("6");

         ListViewItem item3 = new ListViewItem("item3",0);

         item3.SubItems.Add("7");
         item3.SubItems.Add("8");
         item3.SubItems.Add("9");

         //Add the items to the ListView.
         listView1.Items.AddRange(new ListViewItem[]{item1,item2,item3});
      }