mercoledì 4 settembre 2013

c# - WPF, Binding DataGrid with DataSet

Hi,
the following code shows how you can bind a DataGrid with a DataSet in WPF.



YourWpfDataGrid.ItemsSource = YourDataSet.Tables["YourTable"].AsDataView();



My Two Cents ...

Nessun commento:

Posta un commento