poymode
December 26th, 2009, 12:53 AM
Hello.
I have this ListView which has 5 columns. I am trying to access the 6th item of my ListView using
listview.Items[0].Subitems[5].Text
but it gives me an InvalidArgument=Value of '5' is not valid for 'index'. error.
I have declared in instantiated all columns, I can even access the 1st,3rd to 5th column but not the 6th.
Anyone?
I have this ListView which has 5 columns. I am trying to access the 6th item of my ListView using
listview.Items[0].Subitems[5].Text
but it gives me an InvalidArgument=Value of '5' is not valid for 'index'. error.
I have declared in instantiated all columns, I can even access the 1st,3rd to 5th column but not the 6th.
Anyone?