So I have 4 arrays, and they contain first names, last names, usernames and access type (read, read/write, none). I need to insert the values from these arrays into a listview with 34 columns, the first 3 corresponding to the first 3 arrays and the rest need to contain the access type for these users (the column headers being the folder names in which they have access or not). My problem lies with the access type array. How can I insert 31 values on each row into the listview from the access type array? The first 31 values from the access array correspond to the first username, the next 31 to the second username and so on. Till now I've inserted the first 3 arrays like this:
for (int i = 0; i < rows; i++)
{
list.Items.Add(new ListViewItem(new string[] { fname[i], lname[i], uname[i] }));
}
This adds all the users.
Don't know how to insert the other values...