private void Button_Click(object sender, RoutedEventArgs e)
{
var vLst = this.dgList.SelectedItems;
for (int i = 0; i < vLst.Count; i++)
{
1.//获取选中的数据
string str = (dgList.Columns[1].GetCellContent(vLst[i]) as TextBlock).Text;
2. //开始处理操作数据
}
}
原文地址:https://www.cnblogs.com/xiale/p/11416510.html
时间: 2024-10-30 08:18:48