开发者

Extract data in the order they're shown in the listview

I have a listview and it can be ordered by clicking on the column's header, but how can I extr开发者_Go百科act the elements in the same order they are shown in the listview?

Thanks in advance.


for (int x = 0; x < listView1.Items.Count; x++)
{
    if (listView1.Items[x].Selected)
    {
        string cc = listView1.SelectedItems[0].SubItems[2].Text;
    }
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜