把数组数据放到ListView控件中
private SE[] shuzu=new SE[3];
private void insert()
{
listView1.Items.Clear();
for (int i = 0; i < shuzu.Length; i++)
{
ListViewItem item = new ListViewItem();
item.Text = shuzu[i]._Id;
item.SubItems.Add(shuzu[i]._Name);
item.SubItems.Add(shuzu[i]._Age.ToString());
item.SubItems.Add(shuzu[i]._Pingjia);
item.SubItems.Add(shuzu[i]._Start.ToString());
this.listView1.Items.Add(item);
}
}
------解决方案--------------------
用io吧!!