Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I cannot get my first columns form a ListView? 1

Status
Not open for further replies.

meny21

IS-IT--Management
Oct 4, 2002
101
0
0
MX
Hi Guys!

I'm using this code to select Items from a listview that I select, I have only 3 fields in my table

Table:
Field1
Field2
Field3


ListView1.SelectedItem.SubItems(1) <-- Displays field2
ListView1.SelectedItem.SubItems(2) <-- Displays field3
ListView1.SelectedItem.SubItems(0) <-- "It gives me an error"

Do you know another way to get this first field? (field1)

Thanks for any help

MR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top