C# 获取ListView中选中行中对应的列数据时间:2023-03-09 00:14:00 C# 获取ListView中选中行中对应的列数据 if (MediaList.SelectedIndices != null && MediaList.SelectedIndices.Count > ) { ListView.SelectedIndexCollection c = MediaList.SelectedIndices; string mediaRtspUrl = MediaList.Items[c[]].SubItems[].Text.ToString(); }