wpf - How to convert DataGrid to dataTable -


I want to copy all the datagrid archives into datatates without using any loop. For X:

  New Datatable DT = Data Grid 1. DMTT as the item   

but it is not working and is giving an error message.

My development platform is Visual Studio 2010 and language is with WPB vb.net 4.0

How to transfer all records from DATAGRID to datasheet without using LOOP

VB:

  DMTT as new Datatelle DT (DataGrid1.ItemsSource, DataView) .toTable   

Dt = (DataView) DataGrid1.ItemsSource .toTable ();

Comments

Popular posts from this blog

sonata admin - how to add ManyToOne property field in configureListfield in sonataAdmin -

wpf - ControlTemplate with changes for every class -

python - how we can use ajax() in views.py in django? -