摘要: int selectIndex = dgExport.SelectedIndex; ICollectionView view = (ICollectionView)CollectionViewSource.GetDefaultView(dgExport.ItemsSource); List<Export> items = new List<Export>(); items = (List<Export>)view.SourceCollection; items.RemoveAt(selectIndex); dgExport.Items.Refresh(); 阅读全文
posted @ 2011-06-20 17:25 .net万剑 阅读(7831) 评论(1) 推荐(1) 编辑