private void button3_Click(object sender, EventArgs e)
{
listView1.Items.Clear();
listView1.BeginUpdate();
ListViewItem item;
Random ran = new Random();
int nRandom;
ArrayList temp = new ArrayList();
for(int i = 0; i < arr.Count; i++)
{
nRandom = ran.Next(arr.Count);
temp.Add(arr[nRandom]);
arr[nRandom] = arr[i];
arr[i] = temp[i];
}
for(int j =0 ; j < arr.Count; j++)
{
item = new ListViewItem(Convert.ToString(arr[j]));
for(int i = 0; i < 6; i++)
item.SubItems.Add(Convert.ToString(arr[i]));
listView1.Items.Add(item);
}
listView1.EndUpdate();