EDN Admin
Well-known member
Hello,
I have a ListView with 3 Columns
I would like to get the text from the subitems.
Found this code:
<font size=2>textBox1.Text= ListView1.SelectedItems[1].SubItems[1].Text;
</font>But i get an exeption:
InvalidArgument=Value of 1 is not valid for index.
Parameter name: index
The ListView1s property Multi select is False.
Can any1 help me?
Thanks!<hr class="sig Student
View the full article
I have a ListView with 3 Columns
I would like to get the text from the subitems.
Found this code:
<font size=2>textBox1.Text= ListView1.SelectedItems[1].SubItems[1].Text;
</font>But i get an exeption:
InvalidArgument=Value of 1 is not valid for index.
Parameter name: index
The ListView1s property Multi select is False.
Can any1 help me?
Thanks!<hr class="sig Student
View the full article