[求助]学习C#中遇到ListView的问题
我刚刚学习C#一个月,现在遇到一个比较菜的问题,我把一些数据写到ListView中,现在想把数据从中拿出来,而且要指定某行某列的数据,用什么办法?
2005-04-22 23:41
2005-04-22 23:44
2005-04-22 23:45
2005-04-22 23:55
2005-04-23 00:06
2005-04-24 17:01
2005-04-24 17:13
2006-10-05 15:25
2006-10-05 16:33
if(lvCountries.View != View.Details)
label1.Text = ((CountryItem)lvCountries.GetItemAt(e.X, e.Y)).CountryAbbreviation;
else
label1.Text = ((CountryItem)lvCountries.GetItemAt(5, e.Y)).CountryAbbreviation;
这样应该把你鼠标点击的值取出来!

2006-10-05 16:45