I want to store the data of a datagrid in a datatable. How can I populate the datatable with that data?
Need a way to access data in a row and column format rather than a item format. So, a solution for the same is welcomed and needed asap.
Thanks.
I want to store the data of a datagrid in a datatable. How can I populate the datatable with that data?
Need a way to access data in a row and column format rather than a item format. So, a solution for the same is welcomed and needed asap.
Thanks.
To your second question, I think you can.
Try this
 DataView myView = new DataView( MyDataTable ); 
 ICollectionView cv = CollectionViewSource.GetDefaultView(myView);
Hopefully helpful
Rachel