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!

get value of the first column in first row of listview??? 1

Status
Not open for further replies.

lminmei

Programmer
Feb 1, 2000
111
0
0
US
i have a listview with 3 columns and 10 records in it...
i'm new to C# so....
how do i go about getting the Value of the first row and first column???
Thank,
Derek
 
Code:
//First Column
this.listView1.Items[0].Text;

//Second Column, First Row
// SubItems may be zero based but I can't remember
// at the moment
this.listView1.Items[0].SubItems[1].Text;

Scott
Programmer Analyst
<{{><
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top