foreach(ListItem li in listView1.Items){}试试:在给listView加入Item(即ListItem)之前,先对li赋值,然后再加到listview中
ListView1.Items[3].SubItems[2].Text = “AAA”;
LV.Items[2].SubItems[0].Text=2