Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How to delete a row from WPF listview datasource (Typed DataTable)

$
0
0

I want to delete a row from a WPF ListView (lstvParts) that is selected and it's itemsSource row which is a typed dataTable (parts).

I have tried:

parts.Rows.RemoveAt(lstvParts.SelectedIndex)

Can anyone help me?


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>